Skip to content

Commit

Permalink
rsstail: 2.1 -> 2.2 and libiconv darwin fix (#351414)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilazy authored Oct 26, 2024
2 parents f21f4ca + b83302b commit eed6895
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions pkgs/applications/networking/feedreaders/rsstail/default.nix
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{ lib, stdenv, fetchFromGitHub, libmrss, libiconv }:
{ lib, stdenv, fetchFromGitHub, libmrss }:

stdenv.mkDerivation {
stdenv.mkDerivation (final: {
pname = "rsstail";
version = "2.1";
version = "2.2";

src = fetchFromGitHub {
owner = "folkertvanheusden";
repo = "rsstail";
rev = "6f2436185372b3f945a4989406c4b6a934fe8a95";
sha256 = "12p69i3g1fwlw0bds9jqsdmzkid3k5a41w31d227i7vm12wcvjf6";
rev = "v${final.version}";
hash = "sha256-wbdf9zhwMN7QhJ5WoJo1Csu0EcKUTON8Q2Ic5scbn7I=";
};

buildInputs = [ libmrss ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];

postPatch = ''
substituteInPlace Makefile --replace -liconv_hook ""
'';
buildInputs = [ libmrss ];

makeFlags = [ "prefix=$(out)" ];
enableParallelBuilding = true;

env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
NIX_LDFLAGS = "-liconv";
};

# just runs cppcheck linter
doCheck = false;

Expand All @@ -31,8 +31,8 @@ stdenv.mkDerivation {
detects a new entry it'll emit only that new entry.
'';
homepage = "https://www.vanheusden.com/rsstail/";
license = licenses.gpl2Plus;
license = licenses.gpl2Only;
maintainers = [ maintainers.Necior ];
platforms = platforms.unix;
};
}
})

0 comments on commit eed6895

Please sign in to comment.