summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/iottycloud/default.nix
blob: fd50d50013be8588d93889d351b036637c3787fe (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
{
  aiohttp,
  buildPythonPackage,
  fetchFromGitHub,
  hatchling,
  lib,
  pytestCheckHook,
  requests,
}:

buildPythonPackage rec {
  pname = "iottycloud";
  version = "0.3.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "pburgio";
    repo = "iottyCloud";
    tag = version;
    hash = "sha256-tsCa87BdwKumsv5N0lAPZmMIfm2W6Pw0LS3sF9c/oRA=";
  };

  build-system = [ hatchling ];

  dependencies = [ aiohttp ];

  pythonImportsCheck = [ "iottycloud" ];

  nativeCheckInputs = [
    pytestCheckHook
    requests
  ];

  meta = {
    changelog = "https://github.com/pburgio/iottyCloud/releases/tag/${version}";
    description = "Python library to interact with iotty CloudApi";
    homepage = "https://github.com/pburgio/iottyCloud";
    license = lib.licenses.agpl3Only;
    maintainers = with lib.maintainers; [ dotlambda ];
  };
}