Merge pull request #173086 from dotlambda/vallox-websocket-api-init

This commit is contained in:
Martin Weinelt 2022-05-15 15:30:49 +02:00 committed by GitHub
commit 080832a6e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 47 additions and 1 deletions

View File

@ -0,0 +1,42 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, construct
, websockets
, asynctest
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "vallox-websocket-api";
version = "2.11.0";
disabled = pythonOlder "3.6";
format = "setuptools";
src = fetchFromGitHub {
owner = "yozik04";
repo = "vallox_websocket_api";
rev = version;
hash = "sha256-wZiPrPl9ESp43PFdRPvqB2nOg+ogfaArunZOR3Q9cvs=";
};
propagatedBuildInputs = [
construct
websockets
];
checkInputs = [
asynctest
pytestCheckHook
];
meta = {
description = "Async API for Vallox ventilation units";
homepage = "https://github.com/yozik04/vallox_websocket_api";
license = lib.licenses.lgpl3Only;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View File

@ -2885,7 +2885,8 @@
"vacuum" = ps: with ps; [
];
"vallox" = ps: with ps; [
]; # missing inputs: vallox-websocket-api
vallox-websocket-api
];
"vasttrafik" = ps: with ps; [
]; # missing inputs: vtjp
"velbus" = ps: with ps; [
@ -3734,6 +3735,7 @@
"utility_meter"
"uvc"
"vacuum"
"vallox"
"velbus"
"venstar"
"vera"

View File

@ -10770,6 +10770,8 @@ in {
validobj = callPackage ../development/python-modules/validobj { };
vallox-websocket-api = callPackage ../development/python-modules/vallox-websocket-api { };
variants = callPackage ../development/python-modules/variants { };
varint = callPackage ../development/python-modules/varint { };