about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/fingerprints/default.nix
blob: 00c2efe7e3f313b6fa516fb5216984e41638d2cc (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
, fetchFromGitHub
, buildPythonPackage
, normality
, pytestCheckHook
}:
buildPythonPackage rec {
  pname = "fingerprints";
  version = "1.1.0";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "alephdata";
    repo = "fingerprints";
    rev = version;
    hash = "sha256-rptBM08dvivfglPvl3PZd9V/7u2SHbJ/BxfVHNGMt3A=";
  };

  propagatedBuildInputs = [
    normality
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "fingerprints"
  ];

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