summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/aiopulsegrow/default.nix
blob: 3357b6dbd8587ee540fe450b34e0cd09bb437910 (plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
  lib,
  aiohttp,
  aioresponses,
  buildPythonPackage,
  fetchFromGitHub,
  pytest-aiohttp,
  pytest-asyncio,
  pytest-cov-stub,
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage (finalAttrs: {
  pname = "aiopulsegrow";
  version = "25.12.6";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "pvizeli";
    repo = "aiopulsegrow";
    tag = finalAttrs.version;
    hash = "sha256-Srtk8EmvTQvx2//TuB2JR74lw58EdLORKWDnvTPStww=";
  };

  build-system = [ setuptools ];

  dependencies = [ aiohttp ];

  nativeCheckInputs = [
    aioresponses
    pytestCheckHook
    pytest-aiohttp
    pytest-asyncio
    pytest-cov-stub
  ];

  pythonImportsCheck = [ "aiopulsegrow" ];

  meta = {
    description = "Python async api client for Pulse Grow";
    homepage = "https://github.com/pvizeli/aiopulsegrow";
    changelog = "https://github.com/pvizeli/aiopulsegrow/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ fab ];
  };
})