depot/third_party/nixpkgs/pkgs/development/python-modules/wallbox/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

42 lines
808 B
Nix

{ lib
, aenum
, buildPythonPackage
, fetchPypi
, pythonOlder
, requests
, simplejson
}:
buildPythonPackage rec {
pname = "wallbox";
version = "0.6.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-COZHMkAbTFZKi/b4e6toC4gPj1MPfGN4aBVi6SglrBI=";
};
propagatedBuildInputs = [
aenum
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";
changelog = "https://github.com/cliviu74/wallbox/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}