solaar: 1.1.13 -> 1.1.14 and enable tests

This commit is contained in:
oxalica
2025-01-01 23:27:43 -05:00
committed by Weijia Wang
parent 576aac572b
commit 95fbedec2a
+13 -6
View File
@@ -15,13 +15,13 @@
# instead of adding this to `services.udev.packages` on NixOS,
python3Packages.buildPythonApplication rec {
pname = "solaar";
version = "1.1.13";
version = "1.1.14";
src = fetchFromGitHub {
owner = "pwr-Solaar";
repo = "Solaar";
tag = version;
hash = "sha256-sYJrVAeZi0a7yD0i/zIIxcu9X/c5HvgoI/n50eXD47s=";
hash = "sha256-cAM4h0OOXxItSf0Gb9PfHn385FXMKwvIUuYTrjgABwA=";
};
outputs = [
@@ -49,9 +49,16 @@ python3Packages.buildPythonApplication rec {
pygobject3
pyudev
pyyaml
typing-extensions
xlib
];
nativeCheckInputs = with python3Packages; [
pytestCheckHook
pytest-mock
pytest-cov
];
# the -cli symlink is just to maintain compabilility with older versions where
# there was a difference between the GUI and CLI versions.
postInstall = ''
@@ -66,10 +73,10 @@ python3Packages.buildPythonApplication rec {
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
# no tests
doCheck = false;
pythonImportsCheck = [ "solaar" ];
pythonImportsCheck = [
"solaar"
"solaar.gtk"
];
meta = with lib; {
description = "Linux devices manager for the Logitech Unifying Receiver";