1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 ssdeep,
6 pefile,
7}:
8buildPythonPackage rec {
9 pname = "pyimpfuzzy";
10 version = "0.5";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "da9796df302db4b04a197128637f84988f1882f1e08fdd69bbf9fdc6cfbaf349";
16 };
17
18 buildInputs = [ ssdeep ];
19
20 propagatedBuildInputs = [ pefile ];
21
22 # no tests
23 doCheck = false;
24
25 pythonImportsCheck = [ "pyimpfuzzy" ];
26
27 meta = with lib; {
28 description = "Python module which calculates and compares the impfuzzy (import fuzzy hashing)";
29 homepage = "https://github.com/JPCERTCC/impfuzzy";
30 license = licenses.gpl2Only;
31 maintainers = [ ];
32 };
33}