Something went wrong. Try again.
lol
Something went wrong. Try again.
722 B · 37 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738{ 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 = [ ]; };}