2018-10-16 17:42:37 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pkgs
|
|
|
|
, cffi
|
|
|
|
, six
|
|
|
|
, pytest
|
|
|
|
, pytestrunner
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ssdeep";
|
2019-10-23 16:27:58 +01:00
|
|
|
version = "3.4";
|
2018-10-16 17:42:37 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-23 16:27:58 +01:00
|
|
|
sha256 = "0px8k4fjbkjb717bg2v7rjhm4iclrxzq7sh0hfqs55f4ddqi0m8v";
|
2018-10-16 17:42:37 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.ssdeep pytestrunner ];
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
propagatedBuildInputs = [ cffi six ];
|
|
|
|
|
|
|
|
# tests repository does not include required files
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2019-04-15 00:25:45 +01:00
|
|
|
homepage = https://github.com/DinoTools/python-ssdeep;
|
2018-10-16 17:42:37 +01:00
|
|
|
description = "Python wrapper for the ssdeep library";
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|