|
|
@ -13,6 +13,7 @@ |
|
|
|
, pytest-asyncio |
|
|
|
, pytest-asyncio |
|
|
|
, pytestCheckHook |
|
|
|
, pytestCheckHook |
|
|
|
, python-dateutil |
|
|
|
, python-dateutil |
|
|
|
|
|
|
|
, pythonOlder |
|
|
|
, pytz |
|
|
|
, pytz |
|
|
|
, semver |
|
|
|
, semver |
|
|
|
}: |
|
|
|
}: |
|
|
@ -22,6 +23,8 @@ buildPythonPackage rec { |
|
|
|
version = "0.18.0"; |
|
|
|
version = "0.18.0"; |
|
|
|
format = "setuptools"; |
|
|
|
format = "setuptools"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7"; |
|
|
|
|
|
|
|
|
|
|
|
src = fetchFromGitHub { |
|
|
|
src = fetchFromGitHub { |
|
|
|
owner = pname; |
|
|
|
owner = pname; |
|
|
|
repo = "python-plugwise"; |
|
|
|
repo = "python-plugwise"; |
|
|
@ -29,11 +32,6 @@ buildPythonPackage rec { |
|
|
|
sha256 = "sha256-kpEs5LvUz61Wm2IUI6sNXx2R+vtuHq1Y6aaj+zLrr+Q="; |
|
|
|
sha256 = "sha256-kpEs5LvUz61Wm2IUI6sNXx2R+vtuHq1Y6aaj+zLrr+Q="; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
postPatch = '' |
|
|
|
|
|
|
|
substituteInPlace setup.py \ |
|
|
|
|
|
|
|
--replace "aiohttp==3.8.0" "aiohttp>=3.8.0" |
|
|
|
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ |
|
|
|
propagatedBuildInputs = [ |
|
|
|
aiohttp |
|
|
|
aiohttp |
|
|
|
async-timeout |
|
|
|
async-timeout |
|
|
@ -54,16 +52,14 @@ buildPythonPackage rec { |
|
|
|
pytestCheckHook |
|
|
|
pytestCheckHook |
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "plugwise" ]; |
|
|
|
pythonImportsCheck = [ |
|
|
|
|
|
|
|
"plugwise" |
|
|
|
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|
__darwinAllowLocalNetworking = true; |
|
|
|
__darwinAllowLocalNetworking = true; |
|
|
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
meta = with lib; { |
|
|
|
description = "Python module for Plugwise Smiles, Stretch and USB stick"; |
|
|
|
description = "Python module for Plugwise Smiles, Stretch and USB stick"; |
|
|
|
longDescription = '' |
|
|
|
|
|
|
|
XKNX is an asynchronous Python library for reading and writing KNX/IP |
|
|
|
|
|
|
|
packets. It provides support for KNX/IP routing and tunneling devices. |
|
|
|
|
|
|
|
''; |
|
|
|
|
|
|
|
homepage = "https://github.com/plugwise/python-plugwise"; |
|
|
|
homepage = "https://github.com/plugwise/python-plugwise"; |
|
|
|
license = with licenses; [ mit ]; |
|
|
|
license = with licenses; [ mit ]; |
|
|
|
maintainers = with maintainers; [ fab ]; |
|
|
|
maintainers = with maintainers; [ fab ]; |
|
|
|