mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
Merge pull request #128294 from dotlambda/total-connect-client-init
This commit is contained in:
commit
630de311e4
@ -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 ];
|
||||
};
|
||||
}
|
@ -873,7 +873,7 @@
|
||||
"tomato" = ps: with ps; [ ];
|
||||
"toon" = ps: with ps; [ aiohttp-cors hass-nabucasa toonapi ];
|
||||
"torque" = ps: with ps; [ aiohttp-cors ];
|
||||
"totalconnect" = ps: with ps; [ ]; # missing inputs: total_connect_client
|
||||
"totalconnect" = ps: with ps; [ total-connect-client ];
|
||||
"touchline" = ps: with ps; [ ]; # missing inputs: pytouchline
|
||||
"tplink" = ps: with ps; [ pyhs100 ];
|
||||
"tplink_lte" = ps: with ps; [ ]; # missing inputs: tp-connected
|
||||
|
@ -701,6 +701,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||
"tod"
|
||||
"tomato"
|
||||
"toon"
|
||||
"totalconnect"
|
||||
"tplink"
|
||||
"trace"
|
||||
"tradfri"
|
||||
|
@ -8617,6 +8617,8 @@ in {
|
||||
# Used by streamlit, graphite_beacon, 2021-01-29
|
||||
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 {
|
||||
inherit (pkgs) git;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user