about summary refs log tree commit diff
path: root/pkgs/development/python-modules/kombu
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2018-07-14 13:19:09 +0200
committerRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2018-07-14 13:47:08 +0200
commit5d591948201c7c04c62c3d63b432aeb7e6cf50b1 (patch)
tree776413bbd5bf5a4848762060355df1d0ce6779b7 /pkgs/development/python-modules/kombu
parentaf17bfdedf94dc6e7fd34739ec827c915689a80c (diff)
downloadnixlib-5d591948201c7c04c62c3d63b432aeb7e6cf50b1.tar
nixlib-5d591948201c7c04c62c3d63b432aeb7e6cf50b1.tar.gz
nixlib-5d591948201c7c04c62c3d63b432aeb7e6cf50b1.tar.bz2
nixlib-5d591948201c7c04c62c3d63b432aeb7e6cf50b1.tar.lz
nixlib-5d591948201c7c04c62c3d63b432aeb7e6cf50b1.tar.xz
nixlib-5d591948201c7c04c62c3d63b432aeb7e6cf50b1.tar.zst
nixlib-5d591948201c7c04c62c3d63b432aeb7e6cf50b1.zip
python.pkgs.kombu: 4.0.2 -> 4.2.1
Diffstat (limited to 'pkgs/development/python-modules/kombu')
-rw-r--r--pkgs/development/python-modules/kombu/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/kombu/default.nix b/pkgs/development/python-modules/kombu/default.nix
new file mode 100644
index 000000000000..7620ee944417
--- /dev/null
+++ b/pkgs/development/python-modules/kombu/default.nix
@@ -0,0 +1,25 @@
+{ lib, buildPythonPackage, fetchPypi, pytest, case, pytz, amqp }:
+
+buildPythonPackage rec {
+    pname = "kombu";
+    version = "4.2.1";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "86adec6c60f63124e2082ea8481bbe4ebe04fde8ebed32c177c7f0cd2c1c9082";
+  };
+
+  postPatch = ''
+    substituteInPlace requirements/test.txt --replace "pytest-sugar" ""
+  '';
+
+  checkInputs = [ pytest case pytz ];
+
+  propagatedBuildInputs = [ amqp ];
+
+  meta = with lib; {
+    description = "Messaging library for Python";
+    homepage    = https://github.com/celery/kombu;
+    license     = licenses.bsd3;
+  };
+}