python3Packages.solaredge: init at 0.0.4

This commit is contained in:
Fabian Affolter 2021-03-24 23:47:24 +01:00
parent 366ad2f4d8
commit 7a09d09030
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchPypi
, python-dateutil
, pythonOlder
, pytz
, requests
}:
buildPythonPackage rec {
pname = "solaredge";
version = "0.0.4";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "0q4gib0l3qnlpncg84ki027vr1apjlr47vd6845rpk7zkm8lqgfz";
};
propagatedBuildInputs = [
python-dateutil
pytz
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "solaredge" ];
meta = with lib; {
description = "Python wrapper for Solaredge monitoring service";
homepage = "https://github.com/bertouttier/solaredge";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -7767,6 +7767,8 @@ in {
softlayer = callPackage ../development/python-modules/softlayer { };
solaredge = callPackage ../development/python-modules/solaredge { };
solax = callPackage ../development/python-modules/solax { };
solo-python = disabledIf (!pythonAtLeast "3.6") (callPackage ../development/python-modules/solo-python { });