python3Packages.hid-parser: init at 0.0.3

This commit is contained in:
Ilan Joselevich 2023-07-16 19:57:29 +03:00
parent 12d2f0da28
commit c253a1f717
No known key found for this signature in database
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, pytestCheckHook
, hypothesis
}:
buildPythonPackage rec {
pname = "hid-parser";
version = "0.0.3";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-zbm+h+ieDmd1K0uH+9B8EWtYScxqYJXVpY9bXdBivA4=";
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
hypothesis
];
pythonImportsCheck = [ "hid_parser" ];
meta = with lib; {
description = "Typed pure Python library to parse HID report descriptors";
homepage = "https://github.com/usb-tools/python-hid-parser";
license = licenses.mit;
maintainers = with maintainers; [ kranzes ];
};
}

View File

@ -4692,6 +4692,8 @@ self: super: with self; {
inherit (pkgs) udev libusb1;
};
hid-parser = callPackage ../development/python-modules/hid-parser { };
hieroglyph = callPackage ../development/python-modules/hieroglyph { };
hijri-converter = callPackage ../development/python-modules/hijri-converter { };