Merge branch 'ssdeep' of git://github.com/thoughtpolice/nixpkgs

ssdeep: Fix darwin build
This commit is contained in:
Shea Levy 2014-03-29 22:15:26 -04:00
commit 84788e75ca

View File

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "1p7dgchq8hgadnxz5qh95ay17k5j74l4qyd15wspc54lb603p2av"; sha256 = "1p7dgchq8hgadnxz5qh95ay17k5j74l4qyd15wspc54lb603p2av";
}; };
postFixup = '' postFixup = stdenv.lib.optionalString stdenv.isLinux ''
patchelf --set-rpath "$(patchelf --print-rpath $out/bin/ssdeep):$out/lib" $out/bin/ssdeep patchelf --set-rpath "$(patchelf --print-rpath $out/bin/ssdeep):$out/lib" $out/bin/ssdeep
''; '';
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
description = "A program for calculating fuzzy hashes"; description = "A program for calculating fuzzy hashes";
homepage = "http://www.ssdeep.sf.net"; homepage = "http://www.ssdeep.sf.net";
license = stdenv.lib.licenses.gpl2; license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux; platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
}; };
} }