python3Packages.hid-parser: init at 0.0.3
This commit is contained in:
parent
12d2f0da28
commit
c253a1f717
36
pkgs/development/python-modules/hid-parser/default.nix
Normal file
36
pkgs/development/python-modules/hid-parser/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user