python3Packages.tesla-powerwall: init at 0.3.17

This commit is contained in:
Robert Schütz 2022-05-15 02:02:12 +00:00
parent 1d370bd073
commit 8e8f4be516
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,42 @@
{ lib
, buildPythonPackage
, fetchPypi
, requests
, pytestCheckHook
, responses
}:
buildPythonPackage rec {
pname = "tesla-powerwall";
version = "0.3.17";
format = "setuptools";
src = fetchPypi {
pname = "tesla_powerwall";
inherit version;
sha256 = "09351e408e8e3cc03414944c1a487ef2178300829559e80835026acb84330cfd";
};
propagatedBuildInputs = [
requests
];
checkInputs = [
pytestCheckHook
responses
];
pytestFlagsArray = [
"tests/unit"
];
pythonImportsCheck = [ "tesla_powerwall" ];
meta = {
description = "API for Tesla Powerwall";
homepage = "https://github.com/jrester/tesla_powerwall";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View file

@ -10189,6 +10189,8 @@ in {
tern = callPackage ../development/python-modules/tern { };
tesla-powerwall = callPackage ../development/python-modules/tesla-powerwall { };
tesla-wall-connector = callPackage ../development/python-modules/tesla-wall-connector { };
teslajsonpy = callPackage ../development/python-modules/teslajsonpy { };