1{
2 aiohttp,
3 buildPythonPackage,
4 dacite,
5 fetchFromGitHub,
6 hatchling,
7 lib,
8 pyjwt,
9}:
10
11buildPythonPackage rec {
12 pname = "igloohome-api";
13 version = "0.1.1";
14 pyproject = true;
15
16 src = fetchFromGitHub {
17 owner = "keithle888";
18 repo = "igloohome-api";
19 tag = "v${version}";
20 hash = "sha256-BLmmypbvYTgQisT0+9Ym1ZTK6asAP2tWXP2DWhKYM7U=";
21 };
22
23 build-system = [ hatchling ];
24
25 dependencies = [
26 aiohttp
27 dacite
28 pyjwt
29 ];
30
31 pythonImportsCheck = [ "igloohome_api" ];
32
33 # upstream has no tests
34 doCheck = false;
35
36 meta = {
37 changelog = "https://github.com/keithle888/igloohome-api/releases/tag/${src.tag}";
38 description = "Python package for using igloohome's API";
39 homepage = "https://github.com/keithle888/igloohome-api";
40 license = lib.licenses.mit;
41 maintainers = with lib.maintainers; [ dotlambda ];
42 };
43}