From eb5939edd1c43cb4a7143ed284066a49b3e9b089 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 31 Dec 2023 10:45:05 +0100 Subject: [PATCH 1/2] python311Packages.sensorpush-ble: 1.5.5 -> 1.6.1 Diff: https://github.com/Bluetooth-Devices/sensorpush-ble/compare/refs/tags/v1.5.5..v1.6.1 Changelog: https://github.com/Bluetooth-Devices/sensorpush-ble/releases/tag/v1.6.1 --- .../python-modules/sensorpush-ble/default.nix | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/sensorpush-ble/default.nix b/pkgs/development/python-modules/sensorpush-ble/default.nix index d51f6d7d6447..bbeadee041c2 100644 --- a/pkgs/development/python-modules/sensorpush-ble/default.nix +++ b/pkgs/development/python-modules/sensorpush-ble/default.nix @@ -1,4 +1,5 @@ { lib +, bluetooth-data-tools , bluetooth-sensor-state-data , buildPythonPackage , fetchFromGitHub @@ -11,36 +12,37 @@ buildPythonPackage rec { pname = "sensorpush-ble"; - version = "1.5.5"; - format = "pyproject"; + version = "1.6.1"; + pyproject = true; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "Bluetooth-Devices"; - repo = pname; + repo = "sensorpush-ble"; rev = "refs/tags/v${version}"; - hash = "sha256-17Yzpbcy/r+GlkLktgghehfAEboZHMbB/Dze1no4I80="; + hash = "sha256-g0UFEkTPpKqx5+hrM+bM6iQrG8EaMcFN01JdHEVH9VQ="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace " --cov=sensorpush_ble --cov-report=term-missing:skip-covered" "" + ''; + nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ + bluetooth-data-tools bluetooth-sensor-state-data home-assistant-bluetooth sensor-state-data ]; nativeCheckInputs = [ - pytestCheckHook - ]; + pytestCheckHook ]; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace " --cov=sensorpush_ble --cov-report=term-missing:skip-covered" "" - ''; pythonImportsCheck = [ "sensorpush_ble" From 12898d840c547bcc609529d54a4bc0ec24de39ed Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 31 Dec 2023 10:50:27 +0100 Subject: [PATCH 2/2] python311Packages.habluetooth: 2.0.0 -> 2.0.1 Diff: https://github.com/Bluetooth-Devices/habluetooth/compare/refs/tags/v2.0.0...v2.0.1 Changelog: https://github.com/Bluetooth-Devices/habluetooth/blob/v2.0.1/CHANGELOG.md --- pkgs/development/python-modules/habluetooth/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/habluetooth/default.nix b/pkgs/development/python-modules/habluetooth/default.nix index 62a2bbff0ba0..f8cf97e963d9 100644 --- a/pkgs/development/python-modules/habluetooth/default.nix +++ b/pkgs/development/python-modules/habluetooth/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "habluetooth"; - version = "2.0.0"; + version = "2.0.1"; pyproject = true; disabled = pythonOlder "3.9"; @@ -26,7 +26,7 @@ buildPythonPackage rec { owner = "Bluetooth-Devices"; repo = "habluetooth"; rev = "refs/tags/v${version}"; - hash = "sha256-JoSvI6L/hs6lZ1R3MEq1mPiJJf7JQahFd3d+PLqN2lw="; + hash = "sha256-vUq3WVo9dAt4Q/oid9ixLwI6v6jCavRU9FZYR6t6TzI="; }; postPatch = ''