pythonPackages.async_timeout: init at 1.1.0
This commit is contained in:
parent
826649ddf4
commit
c4104539e0
30
pkgs/development/python-modules/async_timeout/default.nix
Normal file
30
pkgs/development/python-modules/async_timeout/default.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ lib
|
||||||
|
, fetchurl
|
||||||
|
, buildPythonPackage
|
||||||
|
, pytestrunner
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
pname = "async-timeout";
|
||||||
|
version = "1.1.0";
|
||||||
|
in buildPythonPackage rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
|
||||||
|
sha256 = "b88bd1fe001b800ec23c7bf27a81b32819e2a56668e9fba5646a7f3618143081";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pytestrunner ];
|
||||||
|
# Circular dependency on aiohttp
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.4";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Timeout context manager for asyncio programs";
|
||||||
|
homepage = https://github.com/aio-libs/async_timeout/;
|
||||||
|
license = lib.licenses.asl20;
|
||||||
|
};
|
||||||
|
}
|
@ -1210,6 +1210,8 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
async-timeout = callPackage ../development/python-modules/async_timeout { };
|
||||||
|
|
||||||
asn1ate = buildPythonPackage rec {
|
asn1ate = buildPythonPackage rec {
|
||||||
pname = "asn1ate";
|
pname = "asn1ate";
|
||||||
date = "20160810";
|
date = "20160810";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user