2024-04-21 15:54:59 +00:00
|
|
|
{ lib
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, poetry-core
|
|
|
|
, aiohttp
|
|
|
|
, attrs
|
|
|
|
, itsdangerous
|
|
|
|
, url-normalize
|
|
|
|
}:
|
2024-01-02 11:29:13 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
buildPythonPackage rec {
|
2024-01-02 11:29:13 +00:00
|
|
|
pname = "aiohttp_client_cache";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.11.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-04-21 15:54:59 +00:00
|
|
|
sha256 = "sha256-B2b/9O2gVJjHUlN0pYeBDcwsy3slaAnd5SroeQqEU+s=";
|
2024-01-02 11:29:13 +00:00
|
|
|
};
|
2024-04-21 15:54:59 +00:00
|
|
|
nativeBuildInputs = [
|
2024-01-02 11:29:13 +00:00
|
|
|
poetry-core
|
|
|
|
];
|
2024-04-21 15:54:59 +00:00
|
|
|
propagatedBuildInputs = [
|
2024-01-02 11:29:13 +00:00
|
|
|
aiohttp
|
|
|
|
attrs
|
|
|
|
itsdangerous
|
|
|
|
url-normalize
|
|
|
|
];
|
|
|
|
meta = with lib; {
|
|
|
|
description = "An async persistent cache for aiohttp requests";
|
|
|
|
homepage = "https://pypi.org/project/aiohttp-client-cache/";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ seirl ];
|
|
|
|
};
|
|
|
|
}
|