mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
34 lines
678 B
Nix
34 lines
678 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 = "Python module which calculates and compares the impfuzzy (import fuzzy hashing)";
|
|
homepage = "https://github.com/JPCERTCC/impfuzzy";
|
|
license = licenses.gpl2Only;
|
|
maintainers = [ ];
|
|
};
|
|
}
|