1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 normality,
6 pytestCheckHook,
7 pythonOlder,
8 setuptools,
9}:
10
11buildPythonPackage rec {
12 pname = "fingerprints";
13 version = "1.2.3";
14 pyproject = true;
15
16 disabled = pythonOlder "3.7";
17
18 src = fetchFromGitHub {
19 owner = "alephdata";
20 repo = "fingerprints";
21 rev = version;
22 hash = "sha256-U2UslCy1OagVTtllCKsEBX4zI/qIczbxs2Cxzy+/Xys=";
23 };
24
25 nativeBuildInputs = [ setuptools ];
26
27 propagatedBuildInputs = [ normality ];
28
29 nativeCheckInputs = [ pytestCheckHook ];
30
31 pythonImportsCheck = [ "fingerprints" ];
32
33 meta = with lib; {
34 description = "A library to generate entity fingerprints";
35 homepage = "https://github.com/alephdata/fingerprints";
36 license = licenses.mit;
37 maintainers = with maintainers; [ ];
38 };
39}