2021-01-15 09:19:50 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
2014-03-20 18:18:51 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "ssdeep";
|
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";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
maintainers = [ lib.maintainers.thoughtpolice ];
|
2014-03-20 18:18:51 +00:00
|
|
|
};
|
|
|
|
}
|