Merge pull request #120238 from fabaff/zwave-js-server-python
This commit is contained in:
commit
f3f3822dca
@ -0,0 +1,40 @@
|
|||||||
|
{ lib
|
||||||
|
, aiohttp
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytest-aiohttp
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "zwave-js-server-python";
|
||||||
|
version = "0.23.1";
|
||||||
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "home-assistant-libs";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0kmmhn357k22ana0ysd8jlz1fyfaqlc8k74ryaik0rrw7nmn1n11";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
aiohttp
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytest-aiohttp
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "zwave_js_server" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python wrapper for zwave-js-server";
|
||||||
|
homepage = "https://github.com/home-assistant-libs/zwave-js-server-python";
|
||||||
|
license = with licenses; [ asl20 ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -984,6 +984,6 @@
|
|||||||
"zone" = ps: with ps; [ ];
|
"zone" = ps: with ps; [ ];
|
||||||
"zoneminder" = ps: with ps; [ zm-py ];
|
"zoneminder" = ps: with ps; [ zm-py ];
|
||||||
"zwave" = ps: with ps; [ aiohttp-cors homeassistant-pyozw paho-mqtt pydispatcher python-openzwave-mqtt ];
|
"zwave" = ps: with ps; [ aiohttp-cors homeassistant-pyozw paho-mqtt pydispatcher python-openzwave-mqtt ];
|
||||||
"zwave_js" = ps: with ps; [ aiohttp-cors ]; # missing inputs: zwave-js-server-python
|
"zwave_js" = ps: with ps; [ aiohttp-cors zwave-js-server-python ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -395,6 +395,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||||||
"zha"
|
"zha"
|
||||||
"zone"
|
"zone"
|
||||||
"zwave"
|
"zwave"
|
||||||
|
"zwave_js"
|
||||||
];
|
];
|
||||||
|
|
||||||
pytestFlagsArray = [
|
pytestFlagsArray = [
|
||||||
|
@ -9388,5 +9388,7 @@ in {
|
|||||||
|
|
||||||
zulip = callPackage ../development/python-modules/zulip { };
|
zulip = callPackage ../development/python-modules/zulip { };
|
||||||
|
|
||||||
|
zwave-js-server-python = callPackage ../development/python-modules/zwave-js-server-python { };
|
||||||
|
|
||||||
zxcvbn = callPackage ../development/python-modules/zxcvbn { };
|
zxcvbn = callPackage ../development/python-modules/zxcvbn { };
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user