pythonPackages.txamqp: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 11:44:47 -04:00
parent 1ab1ff4963
commit 35f95f0595
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 26 additions and 17 deletions

View 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 ];
};
}

View File

@ -4292,23 +4292,7 @@ in {
txrequests = callPackage ../development/python-modules/txrequests { };
txamqp = buildPythonPackage rec {
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 ];
};
};
txamqp = callPackage ../development/python-modules/txamqp { };
versiontools = buildPythonPackage rec {
name = "versiontools-1.9.1";