mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +00:00
python3Packages.wallbox: init at 0.4.5
This commit is contained in:
parent
f0545ba9d3
commit
d6e317980d
36
pkgs/development/python-modules/wallbox/default.nix
Normal file
36
pkgs/development/python-modules/wallbox/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user