22 buildPythonPackage rec {
23 pname = "aiohttp-client-cache";
27 disabled = pythonOlder "3.8";
30 pname = "aiohttp_client_cache";
32 hash = "sha256-MuY60hAkD4Ik8+Encv5TrBAs8kx88Y3bhqy7n9+eS28=";
35 build-system = [ poetry-core ];
44 optional-dependencies = {
63 sqlite = [ aiosqlite ];
70 ] ++ lib.flatten (builtins.attrValues optional-dependencies);
72 pythonImportsCheck = [ "aiohttp_client_cache" ];
75 # Tests require running instances of the services
76 "test/integration/test_dynamodb.py"
77 "test/integration/test_redis.py"
78 "test/integration/test_sqlite.py"
82 description = "Async persistent cache for aiohttp requests";
83 homepage = "https://github.com/requests-cache/aiohttp-client-cache";
84 changelog = "https://github.com/requests-cache/aiohttp-client-cache/blob/v${version}/HISTORY.md";
85 license = licenses.mit;
86 maintainers = with maintainers; [ seirl ];