Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.7 kB · 86 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687{ lib, aioboto3, aiobotocore, aiofiles, aiohttp, aiosqlite, attrs, buildPythonPackage, faker, fetchPypi, itsdangerous, motor, poetry-core, pytest-aiohttp, pytestCheckHook, redis, url-normalize,}:
buildPythonPackage rec { pname = "aiohttp-client-cache"; version = "0.13.0"; pyproject = true;
src = fetchPypi { pname = "aiohttp_client_cache"; inherit version; hash = "sha256-3FzWI0CtvuGOD+3HsMN1Qmkt8I+O2ZRddRtykqBDOFM="; };
build-system = [ poetry-core ];
dependencies = [ aiohttp attrs itsdangerous url-normalize ];
optional-dependencies = { all = [ aioboto3 aiobotocore aiofiles aiosqlite motor redis ]; dynamodb = [ aioboto3 aiobotocore ]; filesystem = [ aiofiles aiosqlite ]; mongodb = [ motor ]; redis = [ redis ]; sqlite = [ aiosqlite ]; };
nativeCheckInputs = [ faker pytest-aiohttp pytestCheckHook ] ++ lib.flatten (builtins.attrValues optional-dependencies);
pythonImportsCheck = [ "aiohttp_client_cache" ];
disabledTestPaths = [ # Tests require running instances of the services "test/integration/test_dynamodb.py" "test/integration/test_redis.py" "test/integration/test_sqlite.py" ];
meta = with lib; { description = "Async persistent cache for aiohttp requests"; homepage = "https://github.com/requests-cache/aiohttp-client-cache"; changelog = "https://github.com/requests-cache/aiohttp-client-cache/blob/v${version}/HISTORY.md"; license = licenses.mit; maintainers = with maintainers; [ seirl ]; };}