python3Packages.vallox-websocket-api: init at 2.11.0

This commit is contained in:
Robert Schütz 2022-05-15 02:43:14 +00:00
parent 1d370bd073
commit 1702026799
2 changed files with 44 additions and 0 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

@ -10768,6 +10768,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 { };