mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-23 13:24:29 +00:00
pythonPackages.txrequests: init at 0.9.2
Tested on Linux - python 2.7 - python 3.5
This commit is contained in:
parent
e446b9f1b1
commit
42d8dd14b9
@ -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}";
|
||||
|
Loading…
Reference in New Issue
Block a user