1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 hatchling,
6 normality,
7 pytestCheckHook,
8}:
9
10buildPythonPackage rec {
11 pname = "fingerprints";
12 version = "1.3.1";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "alephdata";
17 repo = "fingerprints";
18 tag = version;
19 hash = "sha256-Q+XCsuGMHPtOqB0SauVuYInR5FGMuG6aNhqiAwTJvSI=";
20 };
21
22 build-system = [ hatchling ];
23
24 dependencies = [ normality ];
25
26 nativeCheckInputs = [ pytestCheckHook ];
27
28 pythonImportsCheck = [ "fingerprints" ];
29
30 meta = with lib; {
31 description = "Library to generate entity fingerprints";
32 homepage = "https://github.com/alephdata/fingerprints";
33 license = licenses.mit;
34 maintainers = [ ];
35 };
36}