lol

solaar: 1.1.13 -> 1.1.14 and enable tests (#370122)

authored by

Weijia Wang and committed by
GitHub
13a15b48 d84661fc

+13 -6
+13 -6
pkgs/by-name/so/solaar/package.nix
··· 15 15 # instead of adding this to `services.udev.packages` on NixOS, 16 16 python3Packages.buildPythonApplication rec { 17 17 pname = "solaar"; 18 - version = "1.1.13"; 18 + version = "1.1.14"; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "pwr-Solaar"; 22 22 repo = "Solaar"; 23 23 tag = version; 24 - hash = "sha256-sYJrVAeZi0a7yD0i/zIIxcu9X/c5HvgoI/n50eXD47s="; 24 + hash = "sha256-cAM4h0OOXxItSf0Gb9PfHn385FXMKwvIUuYTrjgABwA="; 25 25 }; 26 26 27 27 outputs = [ ··· 49 49 pygobject3 50 50 pyudev 51 51 pyyaml 52 + typing-extensions 52 53 xlib 53 54 ]; 54 55 56 + nativeCheckInputs = with python3Packages; [ 57 + pytestCheckHook 58 + pytest-mock 59 + pytest-cov 60 + ]; 61 + 55 62 # the -cli symlink is just to maintain compabilility with older versions where 56 63 # there was a difference between the GUI and CLI versions. 57 64 postInstall = '' ··· 66 73 makeWrapperArgs+=("''${gappsWrapperArgs[@]}") 67 74 ''; 68 75 69 - # no tests 70 - doCheck = false; 71 - 72 - pythonImportsCheck = [ "solaar" ]; 76 + pythonImportsCheck = [ 77 + "solaar" 78 + "solaar.gtk" 79 + ]; 73 80 74 81 meta = with lib; { 75 82 description = "Linux devices manager for the Logitech Unifying Receiver";