Merge pull request #267523 from seirl/aiohttp_client_cache_init

aiohttp-client-cache: init at 0.10.0
This commit is contained in:
Silvan Mosberger 2023-11-25 12:37:44 +01:00 committed by GitHub
commit 6a4146286a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ lib, fetchPypi, python3, ...}:
python3.pkgs.buildPythonPackage rec {
pname = "aiohttp_client_cache";
version = "0.10.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-FXU4QNqa8B8ZADmoEyJfd8gsUDI0HEjIR9B2CBP55wU=";
};
nativeBuildInputs = with python3.pkgs; [
poetry-core
];
propagatedBuildInputs = with python3.pkgs; [
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 ];
};
}

View File

@ -228,6 +228,8 @@ self: super: with self; {
aiohttp-basicauth = callPackage ../development/python-modules/aiohttp-basicauth { };
aiohttp-client-cache = callPackage ../development/python-modules/aiohttp-client-cache { };
aiohttp-cors = callPackage ../development/python-modules/aiohttp-cors { };
aiohttp-jinja2 = callPackage ../development/python-modules/aiohttp-jinja2 { };