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