nixpkgs/pkgs/development/python-modules/async_timeout/default.nix
Robert Schütz 4b60f4c55f home-assistant: 0.80.3 -> 0.81.0 (#49251)
* python3.pkgs.async-timeout: 3.0.0 -> 3.0.1

* home-assistant: 0.80.3 -> 0.81.0
2018-10-27 09:11:53 -04:00

27 lines
530 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, pythonOlder
}:
buildPythonPackage rec {
pname = "async-timeout";
version = "3.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "0c3c816a028d47f659d6ff5c745cb2acf1f966da1fe5c19c77a70282b25f4c5f";
};
# 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;
};
}