python3Packages.zwave-me-ws: init at 0.2.4

This commit is contained in:
Fabian Affolter 2022-04-24 22:26:08 +02:00
parent a6633d255f
commit 79fe52c1c3
2 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,52 @@
{ lib
, aiohttp
, aresponses
, asynctest
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytest-aiohttp
, pytest-asyncio
, pytestCheckHook
, python-engineio
, python-socketio
, pythonOlder
, websocket-client
}:
buildPythonPackage rec {
pname = "zwave-me-ws";
version = "0.2.4";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "Z-Wave-Me";
repo = pname;
rev = "v${version}";
sha256 = "sha256-x7P6fOYTe/u0GKUsO62cNVz2i/hVjUb8t8Bigijxgk0=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
websocket-client
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"zwave_me_ws"
];
meta = with lib; {
description = "Library to connect to a ZWave-Me instance";
homepage = "https://github.com/Z-Wave-Me/zwave-me-ws";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -11225,6 +11225,8 @@ in {
zulip = callPackage ../development/python-modules/zulip { };
zwave-me-ws = callPackage ../development/python-modules/zwave-me-ws { };
zwave-js-server-python = callPackage ../development/python-modules/zwave-js-server-python { };
zxcvbn = callPackage ../development/python-modules/zxcvbn { };