mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
python3Packages.plugwise: init at 0.8.5
This commit is contained in:
parent
f1d3b04c04
commit
5baabf5f32
2 changed files with 68 additions and 0 deletions
66
pkgs/development/python-modules/plugwise/default.nix
Normal file
66
pkgs/development/python-modules/plugwise/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -4876,6 +4876,8 @@ in {
|
||||||
|
|
||||||
pluginbase = callPackage ../development/python-modules/pluginbase { };
|
pluginbase = callPackage ../development/python-modules/pluginbase { };
|
||||||
|
|
||||||
|
plugwise = callPackage ../development/python-modules/plugwise { };
|
||||||
|
|
||||||
plumbum = callPackage ../development/python-modules/plumbum { };
|
plumbum = callPackage ../development/python-modules/plumbum { };
|
||||||
|
|
||||||
ply = callPackage ../development/python-modules/ply { };
|
ply = callPackage ../development/python-modules/ply { };
|
||||||
|
|
Loading…
Reference in a new issue