Merge pull request #119083 from fabaff/pyeconet

This commit is contained in:
Martin Weinelt 2021-04-12 00:30:33 +02:00 committed by GitHub
commit 3d460faf57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 36 additions and 1 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

@ -202,7 +202,7 @@
"ebusd" = ps: with ps; [ ]; # missing inputs: ebusdpy
"ecoal_boiler" = ps: with ps; [ ]; # missing inputs: ecoaliface
"ecobee" = ps: with ps; [ ]; # missing inputs: python-ecobee-api
"econet" = ps: with ps; [ ]; # missing inputs: pyeconet
"econet" = ps: with ps; [ pyeconet ];
"ecovacs" = ps: with ps; [ ]; # missing inputs: sucks
"eddystone_temperature" = ps: with ps; [ construct ]; # missing inputs: beacontools[scan]
"edimax" = ps: with ps; [ pyedimax ];

View File

@ -213,6 +213,7 @@ in with py.pkgs; buildPythonApplication rec {
"devolo_home_control"
"dhcp"
"discovery"
"econet"
"emulated_hue"
"esphome"
"fan"

View File

@ -5718,6 +5718,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 { };