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 12:41:18 +00:00
|
|
|
pname = "ssdeep";
|
2018-08-16 19:45:52 +00:00
|
|
|
version = "2.14.1";
|
2014-03-20 18:18:51 +00:00
|
|
|
|
2018-08-16 19:45:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ssdeep-project";
|
|
|
|
repo = "ssdeep";
|
|
|
|
rev = "release-${version}";
|
|
|
|
sha256 = "1yx6yjkggshw5yl89m4kvyzarjdg2l3hs0bbjbrfzwp1lkfd8i0c";
|
2014-03-20 18:18:51 +00:00
|
|
|
};
|
|
|
|
|
2018-08-16 19:45:52 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2017-05-16 14:35:52 +00: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
|
|
|
};
|
|
|
|
}
|