about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pyimpfuzzy/default.nix
blob: 43e1a1a2b82fa89ed6b54551b2a5949c89883d60 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ 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;
  };
}