pythonPackages.async_timeout: init at 1.1.0

This commit is contained in:
Frederik Rietdijk 2016-12-11 20:06:12 +01:00
parent 826649ddf4
commit c4104539e0
2 changed files with 32 additions and 0 deletions

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

View file

@ -1210,6 +1210,8 @@ in {
};
};
async-timeout = callPackage ../development/python-modules/async_timeout { };
asn1ate = buildPythonPackage rec {
pname = "asn1ate";
date = "20160810";