depot/third_party/nixpkgs/pkgs/development/python-modules/aiohttp-client-cache/default.nix

34 lines
699 B
Nix
Raw Normal View History

{
lib,
fetchPypi,
buildPythonPackage,
poetry-core,
aiohttp,
attrs,
itsdangerous,
url-normalize,
}:
buildPythonPackage rec {
pname = "aiohttp_client_cache";
version = "0.11.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-B2b/9O2gVJjHUlN0pYeBDcwsy3slaAnd5SroeQqEU+s=";
};
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
aiohttp
attrs
itsdangerous
url-normalize
];
meta = with lib; {
description = "Async persistent cache for aiohttp requests";
homepage = "https://pypi.org/project/aiohttp-client-cache/";
license = licenses.mit;
maintainers = with maintainers; [ seirl ];
};
}