summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/wolf-comm/default.nix
blob: 1cfb1bf01ad6e4cacfb80ea0a2ea3372f3530a1d (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
{
  aiohttp,
  buildPythonPackage,
  fetchFromGitHub,
  httpx,
  lib,
  lxml,
  pkce,
  setuptools,
  shortuuid,
}:

buildPythonPackage rec {
  pname = "wolf-comm";
  version = "0.0.47";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "janrothkegel";
    repo = "wolf-comm";
    tag = version;
    hash = "sha256-/34smUrsWKNEd5OPPIsDnW3zfq6nhKX3Yp+UBk+Nibw=";
  };

  build-system = [ setuptools ];

  dependencies = [
    aiohttp
    httpx
    lxml
    pkce
    shortuuid
  ];

  pythonImportsCheck = [ "wolf_comm" ];

  # upstream has no tests
  doCheck = false;

  meta = {
    changelog = "https://github.com/janrothkegel/wolf-comm/releases/tag/${src.tag}";
    description = "Communicate with Wolf SmartSet Cloud";
    homepage = "https://github.com/janrothkegel/wolf-comm";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ dotlambda ];
  };
}