diff options
author | Alyssa Ross <hi@alyssa.is> | 2024-05-03 15:14:25 +0200 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2024-05-07 11:19:19 +0200 |
commit | d92b2b6a1bbd322dd65a8b6f51019610d350046e (patch) | |
tree | 7f7c21927b9cc05676501f297c51eb76b49e326c /nixpkgs/pkgs/development/python-modules/bluetooth-auto-recovery | |
parent | 93c9e56b40530cc627d921cfc255c05b495d4017 (diff) | |
parent | 49050352f602fe87d16ff7b2b6a05b79eb20dc6f (diff) | |
download | nixlib-d92b2b6a1bbd322dd65a8b6f51019610d350046e.tar nixlib-d92b2b6a1bbd322dd65a8b6f51019610d350046e.tar.gz nixlib-d92b2b6a1bbd322dd65a8b6f51019610d350046e.tar.bz2 nixlib-d92b2b6a1bbd322dd65a8b6f51019610d350046e.tar.lz nixlib-d92b2b6a1bbd322dd65a8b6f51019610d350046e.tar.xz nixlib-d92b2b6a1bbd322dd65a8b6f51019610d350046e.tar.zst nixlib-d92b2b6a1bbd322dd65a8b6f51019610d350046e.zip |
Merge remote-tracking branch 'nixpkgs/nixos-unstable-small'
Conflicts: nixpkgs/nixos/modules/services/mail/mailman.nix nixpkgs/nixos/modules/services/mail/public-inbox.nix nixpkgs/pkgs/build-support/go/module.nix
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/bluetooth-auto-recovery')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/bluetooth-auto-recovery/default.nix | 41 |
1 files changed, 18 insertions, 23 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/bluetooth-auto-recovery/default.nix b/nixpkgs/pkgs/development/python-modules/bluetooth-auto-recovery/default.nix index 9a146770fd6d..a3e137cae493 100644 --- a/nixpkgs/pkgs/development/python-modules/bluetooth-auto-recovery/default.nix +++ b/nixpkgs/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"; |