Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 pythonOlder, 6 typing-extensions, 7}: 8 9buildPythonPackage rec { 10 pname = "async-timeout"; 11 version = "4.0.3"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-RkDZa+hNgtAu1Z6itxBaD3szq+hwNwPNCrC/h8QnUi8="; 19 }; 20 21 propagatedBuildInputs = [ typing-extensions ]; 22 23 # Circular dependency on aiohttp 24 doCheck = false; 25 26 meta = { 27 description = "Timeout context manager for asyncio programs"; 28 homepage = "https://github.com/aio-libs/async_timeout/"; 29 license = lib.licenses.asl20; 30 }; 31}