pythonPackages.txrequests: init at 0.9.2

Tested on Linux
- python 2.7
- python 3.5
This commit is contained in:
Fernando J Pando 2016-08-18 11:03:11 -04:00 committed by Frederik Rietdijk
parent e446b9f1b1
commit 42d8dd14b9

View File

@ -26535,6 +26535,27 @@ in modules // {
};
};
txrequests = buildPythonPackage rec {
name = "${pname}-${version}";
pname = "txrequests";
version = "0.9.2";
src = pkgs.fetchurl {
url = "mirror://pypi/t/${pname}/${name}.tar.gz";
sha256 = "0kkxxd17ar5gyjkz9yrrdr15a64qw6ym60ndi0zbwx2s634yfafw";
};
propagatedBuildInputs = with self; [ twisted requests2 cryptography ];
checkPhase = ''
${python.interpreter} -m unittest discover
'';
meta = {
description = "Asynchronous Python HTTP for Humans.";
homepage = "https://github.com/tardyp/txrequests";
license = licenses.asl20;
maintainers = with maintainers; [ nand0p ];
platforms = platforms.all;
};
};
txamqp = buildPythonPackage rec {
name = "txamqp-${version}";