connman-gtk: fix FTBFS with GCC-14 (incompatible pointer types) (#376077)
[NixPkgs.git] / pkgs / development / python-modules / total-connect-client / default.nix
blobf8b86f028e102513e55184fcb3d31b380c039aed
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7   setuptools,
8   zeep,
9 }:
11 buildPythonPackage rec {
12   pname = "total-connect-client";
13   version = "2024.12.1";
14   pyproject = true;
16   disabled = pythonOlder "3.10";
18   src = fetchFromGitHub {
19     owner = "craigjmidwinter";
20     repo = "total-connect-client";
21     tag = version;
22     hash = "sha256-FcPm2Nc6pUGC86K3GLAiQRot0JXYqoZh19dXMCl99eI=";
23   };
25   build-system = [ setuptools ];
27   dependencies = [ zeep ];
29   nativeCheckInputs = [ pytestCheckHook ];
31   pythonImportsCheck = [ "total_connect_client" ];
33   meta = with lib; {
34     description = "Interact with Total Connect 2 alarm systems";
35     homepage = "https://github.com/craigjmidwinter/total-connect-client";
36     changelog = "https://github.com/craigjmidwinter/total-connect-client/releases/tag/${version}";
37     license = licenses.mit;
38     maintainers = with maintainers; [ dotlambda ];
39   };