Merge pull request #117298 from fabaff/pydeconz
This commit is contained in:
commit
55b7888f43
|
@ -0,0 +1,41 @@
|
||||||
|
{ lib
|
||||||
|
, aiohttp
|
||||||
|
, aioresponses
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytest-asyncio
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pydeconz";
|
||||||
|
version = "77";
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Kane610";
|
||||||
|
repo = "deconz";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0qpipw3si3a23c3nafagfx3zl3v481ha8yakcz1d42mbwsc6hkk4";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
aiohttp
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
aioresponses
|
||||||
|
pytest-asyncio
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "pydeconz" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python library wrapping the Deconz REST API";
|
||||||
|
homepage = "https://github.com/Kane610/deconz";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -151,7 +151,7 @@
|
||||||
"datadog" = ps: with ps; [ datadog ];
|
"datadog" = ps: with ps; [ datadog ];
|
||||||
"ddwrt" = ps: with ps; [ ];
|
"ddwrt" = ps: with ps; [ ];
|
||||||
"debugpy" = ps: with ps; [ debugpy ];
|
"debugpy" = ps: with ps; [ debugpy ];
|
||||||
"deconz" = ps: with ps; [ ]; # missing inputs: pydeconz
|
"deconz" = ps: with ps; [ pydeconz ];
|
||||||
"decora" = ps: with ps; [ bluepy ]; # missing inputs: decora
|
"decora" = ps: with ps; [ bluepy ]; # missing inputs: decora
|
||||||
"decora_wifi" = ps: with ps; [ ]; # missing inputs: decora_wifi
|
"decora_wifi" = ps: with ps; [ ]; # missing inputs: decora_wifi
|
||||||
"default_config" = ps: with ps; [ pynacl aiohttp-cors async-upnp-client defusedxml distro emoji hass-nabucasa netdisco pillow scapy sqlalchemy zeroconf ];
|
"default_config" = ps: with ps; [ pynacl aiohttp-cors async-upnp-client defusedxml distro emoji hass-nabucasa netdisco pillow scapy sqlalchemy zeroconf ];
|
||||||
|
|
|
@ -193,6 +193,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||||
"conversation"
|
"conversation"
|
||||||
"counter"
|
"counter"
|
||||||
"cover"
|
"cover"
|
||||||
|
"deconz"
|
||||||
"default_config"
|
"default_config"
|
||||||
"demo"
|
"demo"
|
||||||
"derivative"
|
"derivative"
|
||||||
|
|
|
@ -5608,6 +5608,8 @@ in {
|
||||||
|
|
||||||
pydbus = callPackage ../development/python-modules/pydbus { };
|
pydbus = callPackage ../development/python-modules/pydbus { };
|
||||||
|
|
||||||
|
pydeconz = callPackage ../development/python-modules/pydeconz { };
|
||||||
|
|
||||||
pydenticon = callPackage ../development/python-modules/pydenticon { };
|
pydenticon = callPackage ../development/python-modules/pydenticon { };
|
||||||
|
|
||||||
pydexcom = callPackage ../development/python-modules/pydexcom { };
|
pydexcom = callPackage ../development/python-modules/pydexcom { };
|
||||||
|
|
Loading…
Reference in New Issue