Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 56 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ lib, async-timeout, bluetooth-adapters, btsocket, buildPythonPackage, fetchFromGitHub, poetry-core, pyric, pytest-asyncio, pytest-cov-stub, pytestCheckHook, pythonOlder, usb-devices,}:
buildPythonPackage rec { pname = "bluetooth-auto-recovery"; version = "1.5.2"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "Bluetooth-Devices"; repo = "bluetooth-auto-recovery"; tag = "v${version}"; hash = "sha256-9FwQNauWnWQ7BQoKMwYEEc96/iP6iH9SfvHxlZtePOQ="; };
build-system = [ poetry-core ];
dependencies = [ async-timeout bluetooth-adapters btsocket pyric usb-devices ];
nativeCheckInputs = [ pytest-asyncio pytest-cov-stub pytestCheckHook ];
pythonImportsCheck = [ "bluetooth_auto_recovery" ];
meta = with lib; { description = "Library for recovering Bluetooth adapters"; homepage = "https://github.com/Bluetooth-Devices/bluetooth-auto-recovery"; changelog = "https://github.com/Bluetooth-Devices/bluetooth-auto-recovery/blob/v${version}/CHANGELOG.md"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}