mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 09:33:41 +00:00
38 lines
695 B
Nix
38 lines
695 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, ssdeep
|
|
, pefile
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "pyimpfuzzy";
|
|
version = "0.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "da9796df302db4b04a197128637f84988f1882f1e08fdd69bbf9fdc6cfbaf349";
|
|
};
|
|
|
|
buildInputs = [
|
|
ssdeep
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
pefile
|
|
];
|
|
|
|
# no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"pyimpfuzzy"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A Python module which calculates and compares the impfuzzy (import fuzzy hashing)";
|
|
homepage = "https://github.com/JPCERTCC/impfuzzy";
|
|
license = licenses.gpl2Only;
|
|
maintainers = teams.determinatesystems.members;
|
|
};
|
|
}
|