1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 19:15:39 +00:00

python3Packages.pyeconet: init at 0.1.13

This commit is contained in:
Fabian Affolter 2021-04-11 16:26:11 +02:00
parent 41d8ec87b2
commit 48d9b4524a
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ lib
, paho-mqtt
, buildPythonPackage
, fetchPypi
, aiohttp
}:
buildPythonPackage rec {
pname = "pyeconet";
version = "0.1.13";
src = fetchPypi {
inherit pname version;
sha256 = "0pxwsmxzbmrab6p6qr867pc43ky2yjv2snra534wrdrknpj40h4s";
};
propagatedBuildInputs = [
paho-mqtt
aiohttp
];
# Tests require credentials
doCheck = false;
pythonImportsCheck = [ "pyeconet" ];
meta = with lib; {
description = "Python interface to the EcoNet API";
homepage = "https://github.com/w1ll1am23/pyeconet";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -5690,6 +5690,8 @@ in {
pyechonest = callPackage ../development/python-modules/pyechonest { };
pyeconet = callPackage ../development/python-modules/pyeconet { };
pyedimax = callPackage ../development/python-modules/pyedimax { };
pyee = callPackage ../development/python-modules/pyee { };