3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/security/ssdeep/default.nix
Will Dietz 4cea1c16d1 ssdeep: 2.13 -> 2.14.1 (#45114)
"New" project maintainer, move to github.
2018-08-16 21:45:52 +02:00

27 lines
700 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
name = "ssdeep-${version}";
version = "2.14.1";
src = fetchFromGitHub {
owner = "ssdeep-project";
repo = "ssdeep";
rev = "release-${version}";
sha256 = "1yx6yjkggshw5yl89m4kvyzarjdg2l3hs0bbjbrfzwp1lkfd8i0c";
};
nativeBuildInputs = [ autoreconfHook ];
# Hack to avoid TMPDIR in RPATHs.
preFixup = ''rm -rf "$(pwd)" '';
meta = {
description = "A program for calculating fuzzy hashes";
homepage = "http://www.ssdeep.sf.net";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
};
}