pythonPackages.amqp: Move to own file
This commit is contained in:
parent
23741692fa
commit
4623b2d349
20
pkgs/development/python-modules/amqp/default.nix
Normal file
20
pkgs/development/python-modules/amqp/default.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
@ -484,26 +484,7 @@ in {
|
||||
|
||||
anyjson = callPackage ../development/python-modules/anyjson {};
|
||||
|
||||
amqp = buildPythonPackage rec {
|
||||
name = "amqp-${version}";
|
||||
version = "2.1.4";
|
||||
disabled = pythonOlder "2.6";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/a/amqp/${name}.tar.gz";
|
||||
sha256 = "1ybywzkd840v1qvb1p2bs08js260vq1jscjg8182hv7bmwacqy0k";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ pytest case ];
|
||||
propagatedBuildInputs = with self; [ vine ];
|
||||
|
||||
meta = {
|
||||
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;
|
||||
};
|
||||
};
|
||||
|
||||
amqp = callPackage ../development/python-modules/amqp {};
|
||||
|
||||
amqplib = callPackage ../development/python-modules/amqplib {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user