depot/third_party/nixpkgs/pkgs/development/python-modules/pyimpfuzzy/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

38 lines
691 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, ssdeep
, pefile
}:
buildPythonPackage rec {
pname = "pyimpfuzzy";
version = "0.5";
format = "setuptools";
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 = [ ];
};
}