summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorCole Helbling <cole.e.helbling@outlook.com>2021-04-19 21:03:00 -0700
committerCole Helbling <cole.e.helbling@outlook.com>2021-04-23 09:10:58 -0700
commitfceea030c9c67743ca24f70547daca91eb68bc21 (patch)
tree60eda56c85696f0338f1dcebf1fde0312ecade9e /pkgs/development
parent3eb8428c86b00de2b7f51d7c048aea9c5a43a040 (diff)
downloadnixpkgs-fceea030c9c67743ca24f70547daca91eb68bc21.tar
nixpkgs-fceea030c9c67743ca24f70547daca91eb68bc21.tar.gz
nixpkgs-fceea030c9c67743ca24f70547daca91eb68bc21.tar.bz2
nixpkgs-fceea030c9c67743ca24f70547daca91eb68bc21.tar.lz
nixpkgs-fceea030c9c67743ca24f70547daca91eb68bc21.tar.xz
nixpkgs-fceea030c9c67743ca24f70547daca91eb68bc21.tar.zst
nixpkgs-fceea030c9c67743ca24f70547daca91eb68bc21.zip
python3.pkgs.fingerprints: init at 1.0.3
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/fingerprints/default.nix42
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/fingerprints/default.nix b/pkgs/development/python-modules/fingerprints/default.nix
new file mode 100644
index 00000000000..ea68c6fa8d4
--- /dev/null
+++ b/pkgs/development/python-modules/fingerprints/default.nix
@@ -0,0 +1,42 @@
+{ lib
+, fetchPypi
+, buildPythonPackage
+, normality
+, mypy
+, coverage
+, nose
+}:
+buildPythonPackage rec {
+  pname = "fingerprints";
+  version = "1.0.3";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "cafd5f92b5b91e4ce34af2b954da9c05b448a4778947785abb19a14f363352d0";
+  };
+
+  propagatedBuildInputs = [
+    normality
+  ];
+
+  checkInputs = [
+    mypy
+    coverage
+    nose
+  ];
+
+  checkPhase = ''
+    nosetests
+  '';
+
+  pythonImportsCheck = [
+    "fingerprints"
+  ];
+
+  meta = with lib; {
+    description = "A library to generate entity fingerprints";
+    homepage = "https://github.com/alephdata/fingerprints";
+    license = licenses.mit;
+    maintainers = teams.determinatesystems.members;
+  };
+}