python3Packages.tesla-wall-connector: 1.0.0 -> 1.0.1
This commit is contained in:
parent
68c4b01f72
commit
b12ed5c4df
1 changed files with 17 additions and 10 deletions
|
@ -1,25 +1,28 @@
|
||||||
{ lib
|
{ lib
|
||||||
, aiohttp
|
, aiohttp
|
||||||
, backoff
|
|
||||||
, aioresponses
|
, aioresponses
|
||||||
|
, aresponses
|
||||||
|
, backoff
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
, pytest-aiohttp
|
|
||||||
, pytestCheckHook
|
|
||||||
, poetry-core
|
, poetry-core
|
||||||
|
, pytest-asyncio
|
||||||
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "tesla-wall-connector";
|
pname = "tesla-wall-connector";
|
||||||
version = "1.0.0";
|
version = "1.0.1";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "einarhauks";
|
||||||
sha256 = "PVgM6tC8jy/tXytkAVC0Y4Oatap5YFA3vpkUgAdyTxM=";
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-JBtlGd9aHY8ikhpJ5v7ZcNu3BfLdBmOBZCMa6C0s6gE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -31,8 +34,12 @@ buildPythonPackage rec {
|
||||||
backoff
|
backoff
|
||||||
];
|
];
|
||||||
|
|
||||||
# https://github.com/einarhauks/tesla-wall-connector/issues/1
|
checkInputs = [
|
||||||
doCheck = false;
|
aresponses
|
||||||
|
pytest-asyncio
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"tesla_wall_connector"
|
"tesla_wall_connector"
|
||||||
|
|
Loading…
Reference in a new issue