Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, fetchPypi 3, buildPythonPackage 4, pythonOlder 5}: 6 7buildPythonPackage rec { 8 pname = "async-timeout"; 9 version = "3.0.1"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "0c3c816a028d47f659d6ff5c745cb2acf1f966da1fe5c19c77a70282b25f4c5f"; 14 }; 15 16 # Circular dependency on aiohttp 17 doCheck = false; 18 19 disabled = pythonOlder "3.4"; 20 21 meta = { 22 description = "Timeout context manager for asyncio programs"; 23 homepage = "https://github.com/aio-libs/async_timeout/"; 24 license = lib.licenses.asl20; 25 }; 26}