python3Packages.tesla-wall-connector: init at 1.0.0
This commit is contained in:
parent
dd15c5cec8
commit
6af367e180
2 changed files with 49 additions and 0 deletions
|
@ -0,0 +1,47 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, backoff
|
||||
, aioresponses
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest-aiohttp
|
||||
, pytestCheckHook
|
||||
, poetry-core
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tesla-wall-connector";
|
||||
version = "1.0.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "PVgM6tC8jy/tXytkAVC0Y4Oatap5YFA3vpkUgAdyTxM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
backoff
|
||||
];
|
||||
|
||||
# https://github.com/einarhauks/tesla-wall-connector/issues/1
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"tesla_wall_connector"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for communicating with a Tesla Wall Connector";
|
||||
homepage = "https://github.com/einarhauks/tesla-wall-connector";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -9305,6 +9305,8 @@ in {
|
|||
|
||||
tern = callPackage ../development/python-modules/tern { };
|
||||
|
||||
tesla-wall-connector = callPackage ../development/python-modules/tesla-wall-connector { };
|
||||
|
||||
teslajsonpy = callPackage ../development/python-modules/teslajsonpy { };
|
||||
|
||||
tess = callPackage ../development/python-modules/tess { };
|
||||
|
|
Loading…
Reference in a new issue