diff options
author | Will Dietz <github@wdtz.org> | 2018-08-16 14:45:52 -0500 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-08-16 21:45:52 +0200 |
commit | 4cea1c16d13dc64aa989a7ffb27e4b77a06315fa (patch) | |
tree | d6136e7e3d6795671d930a2441a71ed43fc5f360 /pkgs/tools/security | |
parent | 9c32d185d12f48a996b9b4fb3999c41d7445e548 (diff) | |
download | nixlib-4cea1c16d13dc64aa989a7ffb27e4b77a06315fa.tar nixlib-4cea1c16d13dc64aa989a7ffb27e4b77a06315fa.tar.gz nixlib-4cea1c16d13dc64aa989a7ffb27e4b77a06315fa.tar.bz2 nixlib-4cea1c16d13dc64aa989a7ffb27e4b77a06315fa.tar.lz nixlib-4cea1c16d13dc64aa989a7ffb27e4b77a06315fa.tar.xz nixlib-4cea1c16d13dc64aa989a7ffb27e4b77a06315fa.tar.zst nixlib-4cea1c16d13dc64aa989a7ffb27e4b77a06315fa.zip |
ssdeep: 2.13 -> 2.14.1 (#45114)
"New" project maintainer, move to github.
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r-- | pkgs/tools/security/ssdeep/default.nix | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/pkgs/tools/security/ssdeep/default.nix b/pkgs/tools/security/ssdeep/default.nix index 50b16ad58399..1ff9c73d8b58 100644 --- a/pkgs/tools/security/ssdeep/default.nix +++ b/pkgs/tools/security/ssdeep/default.nix @@ -1,24 +1,21 @@ -{ stdenv, fetchurl }: +{ stdenv, fetchFromGitHub, autoreconfHook }: stdenv.mkDerivation rec { name = "ssdeep-${version}"; - version = "2.13"; + version = "2.14.1"; - src = fetchurl { - url = "mirror://sourceforge/ssdeep/${name}.tar.gz"; - sha256 = "1igqy0j7jrklb8fdlrm6ald4cyl1fda5ipfl8crzyl6bax2ajk3f"; + src = fetchFromGitHub { + owner = "ssdeep-project"; + repo = "ssdeep"; + rev = "release-${version}"; + sha256 = "1yx6yjkggshw5yl89m4kvyzarjdg2l3hs0bbjbrfzwp1lkfd8i0c"; }; + nativeBuildInputs = [ autoreconfHook ]; + # Hack to avoid TMPDIR in RPATHs. preFixup = ''rm -rf "$(pwd)" ''; - # For some reason (probably a build system bug), the binary isn't - # properly linked to $out/lib to find libfuzzy.so - postFixup = stdenv.lib.optionalString (!stdenv.isDarwin) '' - rp=$(patchelf --print-rpath $out/bin/ssdeep) - patchelf --set-rpath $rp:$out/lib $out/bin/ssdeep - ''; - meta = { description = "A program for calculating fuzzy hashes"; homepage = "http://www.ssdeep.sf.net"; |