summary refs log tree commit diff
path: root/pkgs/development/python-modules/amqp
diff options
context:
space:
mode:
authorElis Hirwing <elis@hirwing.se>2018-03-31 11:06:58 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2018-04-04 19:45:57 +0200
commit4623b2d349a6702dfdc05d56f0a2cad4c90023fd (patch)
treeff1eb2c5d4c20dacb5257cd2f76f8f69cb18bb6b /pkgs/development/python-modules/amqp
parent23741692fabcdfee9a8b7f89576236a69d4d4d8a (diff)
downloadnixlib-4623b2d349a6702dfdc05d56f0a2cad4c90023fd.tar
nixlib-4623b2d349a6702dfdc05d56f0a2cad4c90023fd.tar.gz
nixlib-4623b2d349a6702dfdc05d56f0a2cad4c90023fd.tar.bz2
nixlib-4623b2d349a6702dfdc05d56f0a2cad4c90023fd.tar.lz
nixlib-4623b2d349a6702dfdc05d56f0a2cad4c90023fd.tar.xz
nixlib-4623b2d349a6702dfdc05d56f0a2cad4c90023fd.tar.zst
nixlib-4623b2d349a6702dfdc05d56f0a2cad4c90023fd.zip
pythonPackages.amqp: Move to own file
Diffstat (limited to 'pkgs/development/python-modules/amqp')
-rw-r--r--pkgs/development/python-modules/amqp/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/amqp/default.nix b/pkgs/development/python-modules/amqp/default.nix
new file mode 100644
index 000000000000..eb2b6a8058ae
--- /dev/null
+++ b/pkgs/development/python-modules/amqp/default.nix
@@ -0,0 +1,20 @@
+{ stdenv, buildPythonPackage, fetchPypi, pytest, case, vine }:
+
+buildPythonPackage rec {
+  pname = "amqp";
+  version = "2.1.4";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1ybywzkd840v1qvb1p2bs08js260vq1jscjg8182hv7bmwacqy0k";
+  };
+
+  buildInputs = [ pytest case ];
+  propagatedBuildInputs = [ vine ];
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/celery/py-amqp;
+    description = "Python client for the Advanced Message Queuing Procotol (AMQP). This is a fork of amqplib which is maintained by the Celery project";
+    license = licenses.lgpl21;
+  };
+}