blob: 4bee501fa19050c05a2f9c6446f6d62015a7b003 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
{
lib,
bluetooth-adapters,
btsocket,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pyric,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
usb-devices,
}:
buildPythonPackage (finalAttrs: {
pname = "bluetooth-auto-recovery";
version = "1.6.4";
pyproject = true;
src = fetchFromGitHub {
owner = "Bluetooth-Devices";
repo = "bluetooth-auto-recovery";
tag = "v${finalAttrs.version}";
hash = "sha256-fb83M2V4q4ncmIIMM6BhNDBg8DSjBmYNE+4Qj22wTEE=";
};
build-system = [ poetry-core ];
dependencies = [
bluetooth-adapters
btsocket
pyric
usb-devices
];
nativeCheckInputs = [
pytest-asyncio
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "bluetooth_auto_recovery" ];
meta = {
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/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
})
|