Skip to content

Commit

Permalink
Merge pull request #110820 from fabaff/pyedimax
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Jan 25, 2021
2 parents 54fa151 + 2d2a27a commit 71313b9
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
28 changes: 28 additions & 0 deletions pkgs/development/python-modules/pyedimax/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 1 addition & 1 deletion pkgs/servers/home-assistant/component-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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; [ ];
Expand Down
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit 71313b9

Please sign in to comment.