nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at haskell-updates 51 lines 1.1 kB view raw
1{ 2 lib, 3 bluetooth-adapters, 4 btsocket, 5 buildPythonPackage, 6 fetchFromGitHub, 7 poetry-core, 8 pyric, 9 pytest-asyncio, 10 pytest-cov-stub, 11 pytestCheckHook, 12 usb-devices, 13}: 14 15buildPythonPackage rec { 16 pname = "bluetooth-auto-recovery"; 17 version = "1.5.3"; 18 pyproject = true; 19 20 src = fetchFromGitHub { 21 owner = "Bluetooth-Devices"; 22 repo = "bluetooth-auto-recovery"; 23 tag = "v${version}"; 24 hash = "sha256-xnEEq3NVScMbMjZWb4lI+kpy2zr6WlXx3XcBhzN1rZ4="; 25 }; 26 27 build-system = [ poetry-core ]; 28 29 dependencies = [ 30 bluetooth-adapters 31 btsocket 32 pyric 33 usb-devices 34 ]; 35 36 nativeCheckInputs = [ 37 pytest-asyncio 38 pytest-cov-stub 39 pytestCheckHook 40 ]; 41 42 pythonImportsCheck = [ "bluetooth_auto_recovery" ]; 43 44 meta = { 45 description = "Library for recovering Bluetooth adapters"; 46 homepage = "https://github.com/Bluetooth-Devices/bluetooth-auto-recovery"; 47 changelog = "https://github.com/Bluetooth-Devices/bluetooth-auto-recovery/blob/v${version}/CHANGELOG.md"; 48 license = with lib.licenses; [ mit ]; 49 maintainers = with lib.maintainers; [ fab ]; 50 }; 51}