Merge pull request #85110 from marsam/fix-rsstail-darwin

rsstail: enable on darwin
This commit is contained in:
Mario Rodas 2020-04-13 07:47:20 -05:00 committed by GitHub
commit ff40e2834a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cppcheck, libmrss }: { stdenv, fetchFromGitHub, cppcheck, libmrss, libiconv }:
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "rsstail"; pname = "rsstail";
@ -11,7 +11,7 @@ stdenv.mkDerivation {
owner = "flok99"; owner = "flok99";
}; };
buildInputs = [ libmrss ]; buildInputs = [ libmrss ] ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv ];
checkInputs = [ cppcheck ]; checkInputs = [ cppcheck ];
postPatch = '' postPatch = ''
@ -31,6 +31,6 @@ stdenv.mkDerivation {
''; '';
homepage = "http://www.vanheusden.com/rsstail/"; homepage = "http://www.vanheusden.com/rsstail/";
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
platforms = platforms.linux; platforms = platforms.unix;
}; };
} }