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 "ebusd" = ps: with ps; [ ]; # missing inputs: ebusdpy
"ecoal_boiler" = ps: with ps; [ ]; # missing inputs: ecoaliface "ecoal_boiler" = ps: with ps; [ ]; # missing inputs: ecoaliface
"ecobee" = ps: with ps; [ ]; # missing inputs: python-ecobee-api "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 "ecovacs" = ps: with ps; [ ]; # missing inputs: sucks
"eddystone_temperature" = ps: with ps; [ construct ]; # missing inputs: beacontools[scan] "eddystone_temperature" = ps: with ps; [ construct ]; # missing inputs: beacontools[scan]
"edimax" = ps: with ps; [ pyedimax ]; "edimax" = ps: with ps; [ pyedimax ];

View file

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

View file

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