5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
40 lines
947 B
Nix
40 lines
947 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
setuptools,
|
|
zeep,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "total-connect-client";
|
|
version = "2024.5";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "craigjmidwinter";
|
|
repo = "total-connect-client";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-NGiI4gn59U7NiRYtB6UydxOu+lVtmbl8qF3nbAjiYwk=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|