Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 poetry-core, 6 aiohttp, 7 attrs, 8 itsdangerous, 9 url-normalize, 10}: 11 12buildPythonPackage rec { 13 pname = "aiohttp_client_cache"; 14 version = "0.11.0"; 15 pyproject = true; 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-B2b/9O2gVJjHUlN0pYeBDcwsy3slaAnd5SroeQqEU+s="; 19 }; 20 nativeBuildInputs = [ poetry-core ]; 21 propagatedBuildInputs = [ 22 aiohttp 23 attrs 24 itsdangerous 25 url-normalize 26 ]; 27 meta = with lib; { 28 description = "Async persistent cache for aiohttp requests"; 29 homepage = "https://pypi.org/project/aiohttp-client-cache/"; 30 license = licenses.mit; 31 maintainers = with maintainers; [ seirl ]; 32 }; 33}