Merge pull request #110370 from fabaff/plugwise

python3Packages.plugwise: init at 0.8.5
This commit is contained in:
Martin Weinelt 2021-01-29 17:08:54 +01:00 committed by GitHub
commit 0a9982fb3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 69 additions and 1 deletions

View File

@ -0,0 +1,66 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, aiohttp
, async-timeout
, crcmod
, defusedxml
, pyserial
, pytz
, python-dateutil
, semver
, jsonpickle
, mypy
, pytest-aiohttp
, pytest-asyncio
, pytest-cov
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "plugwise";
version = "0.8.5";
src = fetchFromGitHub {
owner = pname;
repo = "python-plugwise";
rev = version;
sha256 = "1gviyy31l1j8z0if2id3m13r43kw4mcgd8921813yfhmf174piq4";
};
propagatedBuildInputs = [
aiohttp
async-timeout
crcmod
defusedxml
pyserial
pytz
python-dateutil
semver
];
checkInputs = [
jsonpickle
mypy
pytest-aiohttp
pytest-asyncio
pytest-cov
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "plugwise" ];
__darwinAllowLocalNetworking = true;
meta = with lib; {
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";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -621,7 +621,7 @@
"plaato" = ps: with ps; [ aiohttp-cors ];
"plant" = ps: with ps; [ sqlalchemy ];
"plex" = ps: with ps; [ aiohttp-cors plexapi plexauth plexwebsocket pysonos ];
"plugwise" = ps: with ps; [ ]; # missing inputs: plugwise
"plugwise" = ps: with ps; [ plugwise ];
"plum_lightpad" = ps: with ps; [ ]; # missing inputs: plumlightpad
"pocketcasts" = ps: with ps; [ ]; # missing inputs: pycketcasts
"point" = ps: with ps; [ aiohttp-cors ]; # missing inputs: pypoint

View File

@ -4913,6 +4913,8 @@ in {
pluginbase = callPackage ../development/python-modules/pluginbase { };
plugwise = callPackage ../development/python-modules/plugwise { };
plumbum = callPackage ../development/python-modules/plumbum { };
ply = callPackage ../development/python-modules/ply { };