blob: e1136fc6bc2d7d561a474d53d83abb8193028c84 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytestCheckHook,
pytest-cov-stub,
}:
buildPythonPackage rec {
pname = "usb-devices";
version = "0.4.5";
pyproject = true;
src = fetchFromGitHub {
owner = "Bluetooth-Devices";
repo = "usb-devices";
tag = "v${version}";
hash = "sha256-Nfdl5oRIdOfAo5PFAJJpadRyu2zeEkmYzxDQxbvpt6c=";
};
nativeBuildInputs = [ poetry-core ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
pythonImportsCheck = [ "usb_devices" ];
meta = {
description = "Library for for mapping, describing, and resetting USB devices";
homepage = "https://github.com/Bluetooth-Devices/usb-devices";
changelog = "https://github.com/Bluetooth-Devices/usb-devices/blob/v${version}/CHANGELOG.md";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
|