1{ lib
2, fetchPypi
3, buildPythonPackage
4, normality
5, mypy
6, coverage
7, nose
8}:
9buildPythonPackage rec {
10 pname = "fingerprints";
11 version = "1.1.0";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-GZmurg3rpD081QZW/LUKWblhsQQSS6lg9O7y/kGy4To=";
16 };
17
18 propagatedBuildInputs = [
19 normality
20 ];
21
22 nativeCheckInputs = [
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 = [ ];
41 };
42}