depot/third_party/nixpkgs/pkgs/development/python-modules/wallbox/default.nix
Default email c594a97518 Project import generated by Copybara.
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
2022-10-21 20:38:19 +02:00

38 lines
701 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, aenum
, requests
, simplejson
}:
buildPythonPackage rec {
pname = "wallbox";
version = "0.4.10";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-+LJ0ggRUXFfqmiDbIF2ZWL6qsE6gOzp5OKMFSY3dGG0=";
};
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";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}