2018-08-16 20:45:52 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
2014-03-20 18:18:51 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ssdeep-${version}";
|
2018-08-16 20:45:52 +01:00
|
|
|
version = "2.14.1";
|
2014-03-20 18:18:51 +00:00
|
|
|
|
2018-08-16 20:45:52 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ssdeep-project";
|
|
|
|
repo = "ssdeep";
|
|
|
|
rev = "release-${version}";
|
|
|
|
sha256 = "1yx6yjkggshw5yl89m4kvyzarjdg2l3hs0bbjbrfzwp1lkfd8i0c";
|
2014-03-20 18:18:51 +00:00
|
|
|
};
|
|
|
|
|
2018-08-16 20:45:52 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2017-05-16 15:35:52 +01:00
|
|
|
# Hack to avoid TMPDIR in RPATHs.
|
|
|
|
preFixup = ''rm -rf "$(pwd)" '';
|
|
|
|
|
2014-03-20 18:18:51 +00:00
|
|
|
meta = {
|
|
|
|
description = "A program for calculating fuzzy hashes";
|
|
|
|
homepage = "http://www.ssdeep.sf.net";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2014-03-30 00:28:39 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2014-03-20 18:18:51 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
|
|
|
};
|
|
|
|
}
|