blob: e7b85cf199b603d9e08ed455376c333d977a1f81 (
plain) (
blame)
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
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, setuptools
, zeep
}:
buildPythonPackage rec {
pname = "total-connect-client";
version = "2024.4";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "craigjmidwinter";
repo = "total-connect-client";
rev = "refs/tags/${version}";
hash = "sha256-LuPyhidbAzt/AU5WuXyxggGxjm9yArHsbn6iAaccMEc=";
};
build-system = [
setuptools
];
dependencies = [
zeep
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"total_connect_client"
];
meta = with lib; {
description = "Interact with Total Connect 2 alarm systems";
homepage = "https://github.com/craigjmidwinter/total-connect-client";
changelog = "https://github.com/craigjmidwinter/total-connect-client/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}
|