python3Packages.total-connect-client: init at 0.58
This commit is contained in:
parent
4ba70da807
commit
8ee5356aa9
@ -0,0 +1,39 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, zeep
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "total-connect-client";
|
||||||
|
version = "0.58";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "craigjmidwinter";
|
||||||
|
repo = "total-connect-client";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1dqmgvgvwjh235wghygan2jnfvmn9vz789in2as3asig9cifix9z";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
zeep
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
export PYTHONPATH="total_connect_client:$PYTHONPATH"
|
||||||
|
'';
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -8617,6 +8617,8 @@ in {
|
|||||||
# Used by streamlit, graphite_beacon, 2021-01-29
|
# Used by streamlit, graphite_beacon, 2021-01-29
|
||||||
tornado_5 = callPackage ../development/python-modules/tornado/5.nix { };
|
tornado_5 = callPackage ../development/python-modules/tornado/5.nix { };
|
||||||
|
|
||||||
|
total-connect-client = callPackage ../development/python-modules/total-connect-client { };
|
||||||
|
|
||||||
towncrier = callPackage ../development/python-modules/towncrier {
|
towncrier = callPackage ../development/python-modules/towncrier {
|
||||||
inherit (pkgs) git;
|
inherit (pkgs) git;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user