1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

Merge pull request #21996 from nicknovitski/newsbeuter-darwin

Newsbeuter: fix darwin build and podbeuter download
This commit is contained in:
Michael Raskin 2017-01-20 09:33:35 +00:00 committed by GitHub
commit 505b3f3c94

View file

@ -27,11 +27,15 @@ stdenv.mkDerivation rec {
url = "https://github.com/akrennmair/newsbeuter/commit/cdacfbde9fe3ae2489fc96d35dfb7d263ab03f50.patch";
sha256 = "1lhvn63cqjpikwsr6zzndb1p5y140vvphlg85fazwx4xpzd856d9";
})
(fetchpatch {
url = "https://github.com/akrennmair/newsbeuter/commit/33577f842d9b74c119f3cebda95ef8652304db81.patch";
sha256 = "1kwhp6k14gk1hclgsr9w47qg7hs60p23zsl6f6vw13mczp2naqlb";
})
];
installFlags = [ "DESTDIR=$(out)" "prefix=" ];
installPhase = stdenv.lib.optionalString stdenv.isDarwin ''
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
for prog in $out/bin/*; do
wrapProgram "$prog" --prefix DYLD_LIBRARY_PATH : "${stfl}/lib"
done
@ -42,6 +46,6 @@ stdenv.mkDerivation rec {
description = "An open-source RSS/Atom feed reader for text terminals";
maintainers = with stdenv.lib.maintainers; [ lovek323 ];
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.linux;
platforms = stdenv.lib.platforms.unix;
};
}