python3Packages.tesla-wall-connector: 1.1.0 -> 1.2.0

Changelog: https://github.com/einarhauks/tesla-wall-connector/releases/tag/1.2.0
This commit is contained in:
Fabian Affolter
2026-06-30 10:29:34 +02:00
parent 29f052d489
commit afc140a246
@@ -5,39 +5,29 @@
backoff,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
poetry-core,
pytest-asyncio,
pytestCheckHook,
uv-build,
}:
buildPythonPackage rec {
pname = "tesla-wall-connector";
version = "1.1.0";
version = "1.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "einarhauks";
repo = "tesla-wall-connector";
tag = version;
hash = "sha256-3jj3LU0xRIC6U5DmitkTNjejvSZJWguTS/TeotOD8oc=";
hash = "sha256-CQG4upa+DTuRIvnJ7dPy7ANELks8TrlWNOWMylXJPr4=";
};
patches = [
# https://github.com/einarhauks/tesla-wall-connector/pull/16
(fetchpatch {
name = "replace-async-timeout-with-asyncio.timeout.patch";
url = "https://github.com/einarhauks/tesla-wall-connector/commit/4683738b4d2cccb2be337a383243ab3f7623bf8e.patch";
excludes = [
".github/workflows/python-package.yml"
"poetry.lock"
"pyproject.toml"
];
hash = "sha256-V9Ra7xA5JzBGe8tE8urVJNqCCdBkNmmqUcXo0cswSoY=";
})
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "uv_build>=0.11.6,<0.12" "uv_build"
'';
build-system = [ poetry-core ];
build-system = [ uv-build ];
dependencies = [
aiohttp
@@ -53,9 +43,9 @@ buildPythonPackage rec {
pythonImportsCheck = [ "tesla_wall_connector" ];
meta = {
changelog = "https://github.com/einarhauks/tesla-wall-connector/releases/tag/${src.tag}";
description = "Library for communicating with a Tesla Wall Connector";
homepage = "https://github.com/einarhauks/tesla-wall-connector";
changelog = "https://github.com/einarhauks/tesla-wall-connector/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};