commit
b4c0a4370e
3 changed files with 41 additions and 2 deletions
|
@ -14,13 +14,13 @@
|
|||
# instead of adding this to `services.udev.packages` on NixOS,
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "solaar";
|
||||
version = "1.1.8";
|
||||
version = "1.1.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pwr-Solaar";
|
||||
repo = "Solaar";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-2LD1vMmQvibcnAgBwjfSBJysTnUGptGzPHfi/7tZ0hg=";
|
||||
hash = "sha256-MdPZ9uLQYwgZ6xXWinzFg5A2gJ3ihTS9CbEmXnaNEkI=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "udev" ];
|
||||
|
@ -44,6 +44,7 @@ python3Packages.buildPythonApplication rec {
|
|||
pyudev
|
||||
pyyaml
|
||||
xlib
|
||||
hid-parser
|
||||
];
|
||||
|
||||
# the -cli symlink is just to maintain compabilility with older versions where
|
||||
|
|
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 ];
|
||||
};
|
||||
}
|
|
@ -4694,6 +4694,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 a new issue