diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2024-04-26 20:33:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-26 20:33:58 +0200 |
commit | cdb768311c9cb84db47a1b6aaec3f51c5a773379 (patch) | |
tree | d8a4b45b1ad63d15cfec6bd55ed340d977dc1db5 | |
parent | 17295213af45fa385c164f959742b2538adbdec7 (diff) | |
parent | 8b42c3f4a738fbf7bdca4fdb59edeaa29a736ba0 (diff) |
Merge pull request #305254 from fabaff/bluetooth-auto-recovery-bump
python312Packages.bluetooth-auto-recovery: 1.4.0 -> 1.4.1
-rw-r--r-- | pkgs/development/python-modules/bluetooth-auto-recovery/default.nix | 41 |
1 files changed, 18 insertions, 23 deletions
diff --git a/pkgs/development/python-modules/bluetooth-auto-recovery/default.nix b/pkgs/development/python-modules/bluetooth-auto-recovery/default.nix index 9a146770fd6d7..a3e137cae4937 100644 --- a/pkgs/development/python-modules/bluetooth-auto-recovery/default.nix +++ b/pkgs/development/python-modules/bluetooth-auto-recovery/default.nix @@ -1,19 +1,20 @@ -{ 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 { pname = "bluetooth-auto-recovery"; - version = "1.4.0"; + version = "1.4.1"; pyproject = true; disabled = pythonOlder "3.9"; @@ -22,7 +23,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 +31,9 @@ buildPythonPackage rec { --replace-fail " --cov=bluetooth_auto_recovery --cov-report=term-missing:skip-covered" "" ''; - nativeBuildInputs = [ - poetry-core - ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ + dependencies = [ async-timeout bluetooth-adapters btsocket @@ -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"; |