python3Packages.wallbox: init at 0.4.5

This commit is contained in:
Robert Schütz 2021-06-15 00:27:19 +02:00
parent f0545ba9d3
commit d6e317980d
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, requests
, simplejson
}:
buildPythonPackage rec {
pname = "wallbox";
version = "0.4.5";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "cf1616d79cb0345849ceff1b89a7c80e26ae19b3c2d818def62d6975665838c1";
};
propagatedBuildInputs = [
requests
simplejson
];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "wallbox" ];
meta = with lib; {
description = "Module for interacting with Wallbox EV charger api";
homepage = "https://github.com/cliviu74/wallbox";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View File

@ -8863,6 +8863,8 @@ in {
wakeonlan = callPackage ../development/python-modules/wakeonlan { };
wallbox = callPackage ../development/python-modules/wallbox { };
Wand = callPackage ../development/python-modules/Wand { };
warlock = callPackage ../development/python-modules/warlock { };