depot/third_party/nixpkgs/pkgs/development/python-modules/total-connect-client/default.nix
Default email 0d9fc34957 Project import generated by Copybara.
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
2023-01-20 11:41:00 +01:00

47 lines
973 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, setuptools
, zeep
}:
buildPythonPackage rec {
pname = "total-connect-client";
version = "2023.1";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "craigjmidwinter";
repo = "total-connect-client";
rev = "refs/tags/${version}";
hash = "sha256-BZEL/cIAeiwxQor3TbzY8cJ08PYSkXxMl/4XkIEXncg=";
};
nativeBuildInputs = [
setuptools
];
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";
changelog = "https://github.com/craigjmidwinter/total-connect-client/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}