summary refs log tree commit diff
path: root/pkgs/development/python-modules/datrie
diff options
context:
space:
mode:
authorElis Hirwing <elis@hirwing.se>2018-04-03 13:23:05 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2018-04-04 19:46:00 +0200
commitf73b73d6d699b86e84bc72168b1b8e2eb86e1e69 (patch)
tree91c3481ed97e90daf64ba769be80987494f360e1 /pkgs/development/python-modules/datrie
parent6794cb750c81f4518a18c3fc8220859af5bb14b7 (diff)
downloadnixlib-f73b73d6d699b86e84bc72168b1b8e2eb86e1e69.tar
nixlib-f73b73d6d699b86e84bc72168b1b8e2eb86e1e69.tar.gz
nixlib-f73b73d6d699b86e84bc72168b1b8e2eb86e1e69.tar.bz2
nixlib-f73b73d6d699b86e84bc72168b1b8e2eb86e1e69.tar.lz
nixlib-f73b73d6d699b86e84bc72168b1b8e2eb86e1e69.tar.xz
nixlib-f73b73d6d699b86e84bc72168b1b8e2eb86e1e69.tar.zst
nixlib-f73b73d6d699b86e84bc72168b1b8e2eb86e1e69.zip
pythonPackages.datrie: Move to own file
Diffstat (limited to 'pkgs/development/python-modules/datrie')
-rw-r--r--pkgs/development/python-modules/datrie/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/datrie/default.nix b/pkgs/development/python-modules/datrie/default.nix
new file mode 100644
index 000000000000..f9ac491dc81d
--- /dev/null
+++ b/pkgs/development/python-modules/datrie/default.nix
@@ -0,0 +1,21 @@
+{ stdenv, buildPythonPackage, fetchPypi
+, pytest, pytestrunner, hypothesis}:
+
+buildPythonPackage rec {
+  pname = "datrie";
+  version = "0.7.1";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "08r0if7dry2q7p34gf7ffyrlnf4bdvnprxgydlfxgfnvq8f3f4bs";
+  };
+
+  buildInputs = [ pytest pytestrunner hypothesis ];
+
+  meta = with stdenv.lib; {
+    description = "Super-fast, efficiently stored Trie for Python";
+    homepage = "https://github.com/kmike/datrie";
+    license = licenses.lgpl2;
+    maintainers = with maintainers; [ lewo ];
+  };
+}