about summary refs log tree commit diff
path: root/pkgs/development/python-modules/queuelib/default.nix
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-10-29 16:53:41 -0400
committerChris Ostrouchov <chris.ostrouchov@gmail.com>2018-10-30 00:51:20 -0400
commit89623a675e7a607e5aa99e56d642d5fe4973c4cb (patch)
treed676cf1104083a6b10b9233539367570ff6e581c /pkgs/development/python-modules/queuelib/default.nix
parent3ae4a36ae3a6771d60de39cd9c5b93b9fc0aeba0 (diff)
downloadnixlib-89623a675e7a607e5aa99e56d642d5fe4973c4cb.tar
nixlib-89623a675e7a607e5aa99e56d642d5fe4973c4cb.tar.gz
nixlib-89623a675e7a607e5aa99e56d642d5fe4973c4cb.tar.bz2
nixlib-89623a675e7a607e5aa99e56d642d5fe4973c4cb.tar.lz
nixlib-89623a675e7a607e5aa99e56d642d5fe4973c4cb.tar.xz
nixlib-89623a675e7a607e5aa99e56d642d5fe4973c4cb.tar.zst
nixlib-89623a675e7a607e5aa99e56d642d5fe4973c4cb.zip
pythonPackages.queuelib: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules/queuelib/default.nix')
-rw-r--r--pkgs/development/python-modules/queuelib/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/queuelib/default.nix b/pkgs/development/python-modules/queuelib/default.nix
new file mode 100644
index 000000000000..e80235bcdad6
--- /dev/null
+++ b/pkgs/development/python-modules/queuelib/default.nix
@@ -0,0 +1,25 @@
+{ stdenv
+, buildPythonPackage
+, fetchPypi
+, pytest
+}:
+
+buildPythonPackage rec {
+  pname = "queuelib";
+  version = "1.4.2";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "a6829918157ed433fafa87b0bb1e93e3e63c885270166db5884a02c34c86f914";
+  };
+
+  buildInputs = [ pytest ];
+
+  meta = with stdenv.lib; {
+    description = "A collection of persistent (disk-based) queues for Python";
+    homepage = "https://github.com/scrapy/queuelib";
+    license = licenses.bsd3;
+    maintainers = with maintainers; [ drewkett ];
+  };
+
+}