blob: 4ac5ade3d0bb41f88db2fb8c876dc1f2a0eb4434 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
pytestCheckHook,
hypothesis,
}:
buildPythonPackage rec {
pname = "hid-parser";
version = "0.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "usb-tools";
repo = "python-hid-parser";
tag = version;
hash = "sha256-8aGyLTsBK5etwbqFkNinbLHCt20fsQEmuBvu3RrwCDA=";
};
build-system = [ flit-core ];
nativeCheckInputs = [
pytestCheckHook
hypothesis
];
pythonImportsCheck = [ "hid_parser" ];
meta = {
description = "Typed pure Python library to parse HID report descriptors";
homepage = "https://github.com/usb-tools/python-hid-parser";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|