Merge pull request #119083 from fabaff/pyeconet
This commit is contained in:
commit
3d460faf57
32
pkgs/development/python-modules/pyeconet/default.nix
Normal file
32
pkgs/development/python-modules/pyeconet/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 ];
|
||||
|
@ -213,6 +213,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||
"devolo_home_control"
|
||||
"dhcp"
|
||||
"discovery"
|
||||
"econet"
|
||||
"emulated_hue"
|
||||
"esphome"
|
||||
"fan"
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user