about summary refs log tree commit diff
path: root/pkgs/development/python-modules/aiohttp-client-cache/default.nix
blob: 999eb2dedf3120937d985292d11f4cee1a230bc3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
  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 = "An async persistent cache for aiohttp requests";
    homepage = "https://pypi.org/project/aiohttp-client-cache/";
    license = licenses.mit;
    maintainers = with maintainers; [ seirl ];
  };
}