mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
python3Packages.tesla-wall-connector: init at 1.0.0
This commit is contained in:
parent
dd15c5cec8
commit
6af367e180
@ -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 New Issue
Block a user