lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ssdeep: 2.13 -> 2.14.1 (#45114)

"New" project maintainer, move to github.

authored by

Will Dietz and committed by
xeji
4cea1c16 9c32d185

+9 -12
+9 -12
pkgs/tools/security/ssdeep/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { stdenv, fetchFromGitHub, autoreconfHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "ssdeep-${version}"; 5 - version = "2.13"; 5 + version = "2.14.1"; 6 6 7 - src = fetchurl { 8 - url = "mirror://sourceforge/ssdeep/${name}.tar.gz"; 9 - sha256 = "1igqy0j7jrklb8fdlrm6ald4cyl1fda5ipfl8crzyl6bax2ajk3f"; 7 + src = fetchFromGitHub { 8 + owner = "ssdeep-project"; 9 + repo = "ssdeep"; 10 + rev = "release-${version}"; 11 + sha256 = "1yx6yjkggshw5yl89m4kvyzarjdg2l3hs0bbjbrfzwp1lkfd8i0c"; 10 12 }; 13 + 14 + nativeBuildInputs = [ autoreconfHook ]; 11 15 12 16 # Hack to avoid TMPDIR in RPATHs. 13 17 preFixup = ''rm -rf "$(pwd)" ''; 14 - 15 - # For some reason (probably a build system bug), the binary isn't 16 - # properly linked to $out/lib to find libfuzzy.so 17 - postFixup = stdenv.lib.optionalString (!stdenv.isDarwin) '' 18 - rp=$(patchelf --print-rpath $out/bin/ssdeep) 19 - patchelf --set-rpath $rp:$out/lib $out/bin/ssdeep 20 - ''; 21 18 22 19 meta = { 23 20 description = "A program for calculating fuzzy hashes";