From f30e5085499a3bcc6f2afbfc3eeecd9a1b3e43b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 11 Mar 2025 13:35:10 -0700 Subject: [PATCH] python313Packages.bleak-esphome: 2.9.0 -> 2.11.0 Diff: https://github.com/bluetooth-devices/bleak-esphome/compare/refs/tags/v2.9.0...v2.11.0 Changelog: https://github.com/bluetooth-devices/bleak-esphome/blob/v2.11.0/CHANGELOG.md --- .../python-modules/bleak-esphome/default.nix | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/bleak-esphome/default.nix b/pkgs/development/python-modules/bleak-esphome/default.nix index 3bac922334ff..88f21c0273b6 100644 --- a/pkgs/development/python-modules/bleak-esphome/default.nix +++ b/pkgs/development/python-modules/bleak-esphome/default.nix @@ -5,6 +5,7 @@ bleak-retry-connector, bluetooth-data-tools, buildPythonPackage, + cython, fetchFromGitHub, habluetooth, lru-dict, @@ -13,21 +14,31 @@ pytest-codspeed, pytest-cov-stub, pytestCheckHook, + setuptools, }: buildPythonPackage rec { pname = "bleak-esphome"; - version = "2.9.0"; + version = "2.11.0"; pyproject = true; src = fetchFromGitHub { owner = "bluetooth-devices"; repo = "bleak-esphome"; tag = "v${version}"; - hash = "sha256-KuaaZXABR/jbC9ZNbVOyrezUZzb6w7Tn7s3VuVuAtfI="; + hash = "sha256-5APHpb2h//krpgVJs6pOPLapGZFzbFKNjFxDqpNyApQ="; }; - build-system = [ poetry-core ]; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "setuptools>=75.8.2" setuptools + ''; + + build-system = [ + cython + poetry-core + setuptools + ]; dependencies = [ aioesphomeapi