My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/total-connect-client/default.nix

41 lines
802 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, zeep
}:
buildPythonPackage rec {
pname = "total-connect-client";
version = "2022.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "craigjmidwinter";
repo = "total-connect-client";
rev = version;
hash = "sha256-S+xki1Bj+wvKhbl2vRRa8gULyxTsH4fyypkrHj3JwH0=";
};
propagatedBuildInputs = [
zeep
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"total_connect_client"
];
meta = with lib; {
description = "Interact with Total Connect 2 alarm systems";
homepage = "https://github.com/craigjmidwinter/total-connect-client";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}