From a650164af3f2fb12143fa248fa777a16ce12313e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 19 Apr 2024 09:34:58 +0200 Subject: [PATCH 1/2] python312Packages.bluetooth-auto-recovery: 1.4.0 -> 1.4.1 Diff: https://github.com/Bluetooth-Devices/bluetooth-auto-recovery/compare/refs/tags/v1.4.0...v1.4.1 Changelog: https://github.com/Bluetooth-Devices/bluetooth-auto-recovery/blob/v1.4.1/CHANGELOG.md --- .../python-modules/bluetooth-auto-recovery/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/bluetooth-auto-recovery/default.nix b/pkgs/development/python-modules/bluetooth-auto-recovery/default.nix index 9a146770fd6d..a44b95dc4ddd 100644 --- a/pkgs/development/python-modules/bluetooth-auto-recovery/default.nix +++ b/pkgs/development/python-modules/bluetooth-auto-recovery/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "bluetooth-auto-recovery"; - version = "1.4.0"; + version = "1.4.1"; pyproject = true; disabled = pythonOlder "3.9"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "Bluetooth-Devices"; repo = "bluetooth-auto-recovery"; rev = "refs/tags/v${version}"; - hash = "sha256-fXR7leW+eXaQZ22IyeVhpS5/MOnuAiunUGMdtfVrlos="; + hash = "sha256-4LgEb90QsjTMsVat6fe9B3b6f93bHTgJgQNsRbyti2M="; }; postPatch = '' @@ -30,11 +30,11 @@ buildPythonPackage rec { --replace-fail " --cov=bluetooth_auto_recovery --cov-report=term-missing:skip-covered" "" ''; - nativeBuildInputs = [ + build-system = [ poetry-core ]; - propagatedBuildInputs = [ + dependencies = [ async-timeout bluetooth-adapters btsocket From 8b42c3f4a738fbf7bdca4fdb59edeaa29a736ba0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 19 Apr 2024 09:35:13 +0200 Subject: [PATCH 2/2] python312Packages.bluetooth-auto-recovery: format with nixfmt --- .../bluetooth-auto-recovery/default.nix | 35 ++++++++----------- 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/pkgs/development/python-modules/bluetooth-auto-recovery/default.nix b/pkgs/development/python-modules/bluetooth-auto-recovery/default.nix index a44b95dc4ddd..a3e137cae493 100644 --- a/pkgs/development/python-modules/bluetooth-auto-recovery/default.nix +++ b/pkgs/development/python-modules/bluetooth-auto-recovery/default.nix @@ -1,14 +1,15 @@ -{ lib -, async-timeout -, bluetooth-adapters -, btsocket -, buildPythonPackage -, fetchFromGitHub -, poetry-core -, pyric -, pytestCheckHook -, pythonOlder -, usb-devices +{ + lib, + async-timeout, + bluetooth-adapters, + btsocket, + buildPythonPackage, + fetchFromGitHub, + poetry-core, + pyric, + pytestCheckHook, + pythonOlder, + usb-devices, }: buildPythonPackage rec { @@ -30,9 +31,7 @@ buildPythonPackage rec { --replace-fail " --cov=bluetooth_auto_recovery --cov-report=term-missing:skip-covered" "" ''; - build-system = [ - poetry-core - ]; + build-system = [ poetry-core ]; dependencies = [ async-timeout @@ -42,13 +41,9 @@ buildPythonPackage rec { usb-devices ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; - pythonImportsCheck = [ - "bluetooth_auto_recovery" - ]; + pythonImportsCheck = [ "bluetooth_auto_recovery" ]; meta = with lib; { description = "Library for recovering Bluetooth adapters";