1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools 5, pytestCheckHook 6, hypothesis 7}: 8 9buildPythonPackage rec { 10 pname = "hid-parser"; 11 version = "0.0.3"; 12 format = "pyproject"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-zbm+h+ieDmd1K0uH+9B8EWtYScxqYJXVpY9bXdBivA4="; 17 }; 18 19 nativeBuildInputs = [ 20 setuptools 21 ]; 22 23 nativeCheckInputs = [ 24 pytestCheckHook 25 hypothesis 26 ]; 27 28 pythonImportsCheck = [ "hid_parser" ]; 29 30 meta = with lib; { 31 description = "Typed pure Python library to parse HID report descriptors"; 32 homepage = "https://github.com/usb-tools/python-hid-parser"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ kranzes ]; 35 }; 36}