1{ lib
2, fetchPypi
3, buildPythonPackage
4, normality
5, mypy
6, coverage
7, nose
8}:
9buildPythonPackage rec {
10 pname = "fingerprints";
11 version = "1.0.3";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "cafd5f92b5b91e4ce34af2b954da9c05b448a4778947785abb19a14f363352d0";
16 };
17
18 propagatedBuildInputs = [
19 normality
20 ];
21
22 checkInputs = [
23 mypy
24 coverage
25 nose
26 ];
27
28 checkPhase = ''
29 nosetests
30 '';
31
32 pythonImportsCheck = [
33 "fingerprints"
34 ];
35
36 meta = with lib; {
37 description = "A library to generate entity fingerprints";
38 homepage = "https://github.com/alephdata/fingerprints";
39 license = licenses.mit;
40 maintainers = teams.determinatesystems.members;
41 };
42}