2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2018-10-16 17:42:37 +01:00
|
|
|
, 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;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|