1{
2 aiohttp,
3 buildPythonPackage,
4 fetchFromGitHub,
5 hatchling,
6 lib,
7 pytestCheckHook,
8 requests,
9}:
10
11buildPythonPackage rec {
12 pname = "iottycloud";
13 version = "0.3.0";
14 pyproject = true;
15
16 src = fetchFromGitHub {
17 owner = "pburgio";
18 repo = "iottyCloud";
19 tag = version;
20 hash = "sha256-tsCa87BdwKumsv5N0lAPZmMIfm2W6Pw0LS3sF9c/oRA=";
21 };
22
23 build-system = [ hatchling ];
24
25 dependencies = [ aiohttp ];
26
27 pythonImportsCheck = [ "iottycloud" ];
28
29 nativeCheckInputs = [
30 pytestCheckHook
31 requests
32 ];
33
34 meta = {
35 changelog = "https://github.com/pburgio/iottyCloud/releases/tag/${version}";
36 description = "Python library to interact with iotty CloudApi";
37 homepage = "https://github.com/pburgio/iottyCloud";
38 license = lib.licenses.agpl3Only;
39 maintainers = with lib.maintainers; [ dotlambda ];
40 };
41}