pythonPackages.txamqp: refactor move to python-modules
This commit is contained in:
parent
1ab1ff4963
commit
35f95f0595
25
pkgs/development/python-modules/txamqp/default.nix
Normal file
25
pkgs/development/python-modules/txamqp/default.nix
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchurl
|
||||||
|
, twisted
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "txamqp";
|
||||||
|
version = "0.3";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://launchpad.net/txamqp/trunk/${version}/+download/python-txamqp_${version}.orig.tar.gz";
|
||||||
|
sha256 = "1r2ha0r7g14i4b5figv2spizjrmgfpspdbl1m031lw9px2hhm463";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ twisted ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://launchpad.net/txamqp;
|
||||||
|
description = "Library for communicating with AMQP peers and brokers using Twisted";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ rickynils ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -4292,23 +4292,7 @@ in {
|
|||||||
|
|
||||||
txrequests = callPackage ../development/python-modules/txrequests { };
|
txrequests = callPackage ../development/python-modules/txrequests { };
|
||||||
|
|
||||||
txamqp = buildPythonPackage rec {
|
txamqp = callPackage ../development/python-modules/txamqp { };
|
||||||
name = "txamqp-${version}";
|
|
||||||
version = "0.3";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl rec {
|
|
||||||
url = "https://launchpad.net/txamqp/trunk/${version}/+download/python-txamqp_${version}.orig.tar.gz";
|
|
||||||
sha256 = "1r2ha0r7g14i4b5figv2spizjrmgfpspdbl1m031lw9px2hhm463";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ twisted ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = https://launchpad.net/txamqp;
|
|
||||||
description = "Library for communicating with AMQP peers and brokers using Twisted";
|
|
||||||
maintainers = with maintainers; [ rickynils ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
versiontools = buildPythonPackage rec {
|
versiontools = buildPythonPackage rec {
|
||||||
name = "versiontools-1.9.1";
|
name = "versiontools-1.9.1";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user