Merge pull request #110820 from fabaff/pyedimax

This commit is contained in:
Sandro 2021-01-26 00:23:30 +01:00 committed by GitHub
commit 71313b975c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 31 additions and 1 deletions

@ -0,0 +1,28 @@
{ lib
, buildPythonPackage
, fetchPypi
, requests
}:
buildPythonPackage rec {
pname = "pyedimax";
version = "0.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "1i3gr5vygqh2ryg67sl13aaql7nvf3nbybrg54628r4g7911b5rk";
};
propagatedBuildInputs = [ requests ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pyedimax" ];
meta = with lib; {
description = "Python library for interfacing with the Edimax smart plugs";
homepage = "https://github.com/andreipop2005/pyedimax";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

@ -202,7 +202,7 @@
"econet" = ps: with ps; [ ]; # missing inputs: pyeconet
"ecovacs" = ps: with ps; [ ]; # missing inputs: sucks
"eddystone_temperature" = ps: with ps; [ construct ]; # missing inputs: beacontools[scan]
"edimax" = ps: with ps; [ ]; # missing inputs: pyedimax
"edimax" = ps: with ps; [ pyedimax ];
"edl21" = ps: with ps; [ ]; # missing inputs: pysml
"ee_brightbox" = ps: with ps; [ ]; # missing inputs: eebrightbox
"efergy" = ps: with ps; [ ];

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