python.pkgs.amqplib: move to separate expression
This commit is contained in:
parent
c36a68e7d3
commit
8e1a2250e1
20
pkgs/development/python-modules/amqplib/default.nix
Normal file
20
pkgs/development/python-modules/amqplib/default.nix
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "amqplib";
|
||||||
|
version = "0.6.1";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0f2618b74d95cd360a6d46a309a3fb1c37d881a237e269ac195a69a34e0e2f62";
|
||||||
|
};
|
||||||
|
|
||||||
|
# error: invalid command 'test'
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://code.google.com/p/py-amqplib/;
|
||||||
|
description = "Python client for the Advanced Message Queuing Procotol (AMQP)";
|
||||||
|
};
|
||||||
|
}
|
@ -543,22 +543,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
amqplib = buildPythonPackage rec {
|
amqplib = callPackage ../development/python-modules/amqplib {};
|
||||||
name = "amqplib-0.6.1";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "http://py-amqplib.googlecode.com/files/${name}.tgz";
|
|
||||||
sha256 = "0f2618b74d95cd360a6d46a309a3fb1c37d881a237e269ac195a69a34e0e2f62";
|
|
||||||
};
|
|
||||||
|
|
||||||
# error: invalid command 'test'
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = http://code.google.com/p/py-amqplib/;
|
|
||||||
description = "Python client for the Advanced Message Queuing Procotol (AMQP)";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
ansible = self.ansible2;
|
ansible = self.ansible2;
|
||||||
ansible2 = self.ansible_2_3;
|
ansible2 = self.ansible_2_3;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user