blob: 6c5a65f96ced91d6da0ccecd0b8ef03949f34eee (
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
48
49
50
51
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pycryptodome,
pyjwt,
pytestCheckHook,
requests-mock,
requests-oauthlib,
setuptools,
zeep,
}:
buildPythonPackage rec {
pname = "total-connect-client";
version = "2025.12.2";
pyproject = true;
src = fetchFromGitHub {
owner = "craigjmidwinter";
repo = "total-connect-client";
tag = version;
hash = "sha256-ofbGW5OCKAFW+BXYvegHmFrnJKmRx/Ez86Na00bp9cw=";
};
build-system = [ setuptools ];
pythonRelaxDeps = [ "pycryptodome" ];
dependencies = [
pycryptodome
pyjwt
requests-oauthlib
zeep
];
nativeCheckInputs = [
pytestCheckHook
requests-mock
];
pythonImportsCheck = [ "total_connect_client" ];
meta = {
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/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|