{
  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;
    hash = "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 ];
  };
}
