summary refs log tree commit diff
path: root/pkgs/development/python-modules/fingerprints/default.nix
blob: ea68c6fa8d4ae53be3a4cc77afb31674400e8912 (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
38
39
40
41
42
{ lib
, fetchPypi
, buildPythonPackage
, normality
, mypy
, coverage
, nose
}:
buildPythonPackage rec {
  pname = "fingerprints";
  version = "1.0.3";

  src = fetchPypi {
    inherit pname version;
    sha256 = "cafd5f92b5b91e4ce34af2b954da9c05b448a4778947785abb19a14f363352d0";
  };

  propagatedBuildInputs = [
    normality
  ];

  checkInputs = [
    mypy
    coverage
    nose
  ];

  checkPhase = ''
    nosetests
  '';

  pythonImportsCheck = [
    "fingerprints"
  ];

  meta = with lib; {
    description = "A library to generate entity fingerprints";
    homepage = "https://github.com/alephdata/fingerprints";
    license = licenses.mit;
    maintainers = teams.determinatesystems.members;
  };
}