Merge pull request #243807 from Kranzes/solaar

solaar: 1.1.8 -> 1.1.9
This commit is contained in:
Ilan Joselevich 2023-07-17 12:44:48 +03:00 committed by GitHub
commit b4c0a4370e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 2 deletions

View file

@ -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

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

@ -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 { };