From 64a4ca5628d7cb67461a12894460d8a9bbc0f7a9 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 4 Jan 2025 20:21:25 +0100 Subject: [PATCH] python312Packages.bleak-esphome: 1.1.1 -> 2.0.0 Diff: https://github.com/bluetooth-devices/bleak-esphome/compare/refs/tags/v1.1.1...v2.0.0 Changelog: https://github.com/bluetooth-devices/bleak-esphome/blob/v2.0.0/CHANGELOG.md --- .../python-modules/bleak-esphome/default.nix | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/bleak-esphome/default.nix b/pkgs/development/python-modules/bleak-esphome/default.nix index fcfd668844bfc..68e159310ac75 100644 --- a/pkgs/development/python-modules/bleak-esphome/default.nix +++ b/pkgs/development/python-modules/bleak-esphome/default.nix @@ -9,13 +9,15 @@ lru-dict, poetry-core, pytest-asyncio, + pytest-codspeed, + pytest-cov-stub, pytestCheckHook, pythonOlder, }: buildPythonPackage rec { pname = "bleak-esphome"; - version = "1.1.1"; + version = "2.0.0"; pyproject = true; disabled = pythonOlder "3.10"; @@ -24,17 +26,12 @@ buildPythonPackage rec { owner = "bluetooth-devices"; repo = "bleak-esphome"; tag = "v${version}"; - hash = "sha256-WFswGtPX0OpDTqT25oHGZ+gIN/fhco4orWeGVXIIfzM="; + hash = "sha256-rN2vpXiOaUjjN6yNZxeEgTpcz0K5soUqKKiDDOhcBtc="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace " --cov=bleak_esphome --cov-report=term-missing:skip-covered" "" - ''; + build-system = [ poetry-core ]; - nativeBuildInputs = [ poetry-core ]; - - propagatedBuildInputs = [ + dependencies = [ aioesphomeapi bleak bluetooth-data-tools @@ -44,6 +41,8 @@ buildPythonPackage rec { nativeCheckInputs = [ pytest-asyncio + pytest-codspeed + pytest-cov-stub pytestCheckHook ];