Merge pull request #180191 from oxalica/bump/solaar

solaar: 1.1.3 -> 1.1.4 and clean up

authored by

Guillaume Girol and committed by
GitHub
3915c20b 504ff8ce

+11 -28
+8 -8
pkgs/applications/misc/solaar/default.nix
··· 10 }: 11 12 # Although we copy in the udev rules here, you probably just want to use 13 - # logitech-udev-rules instead of adding this to services.udev.packages on NixOS 14 python3Packages.buildPythonApplication rec { 15 pname = "solaar"; 16 - version = "1.1.3"; 17 18 src = fetchFromGitHub { 19 owner = "pwr-Solaar"; 20 repo = "Solaar"; 21 rev = version; 22 - hash = "sha256-6z22MnhUL9Da3G7UDmZsBAi2gHLNpiFEwe+pAtnP91s="; 23 }; 24 25 nativeBuildInputs = [ wrapGAppsHook gdk-pixbuf ]; 26 buildInputs = [ libappindicator librsvg ]; 27 ··· 41 postInstall = '' 42 ln -s $out/bin/solaar $out/bin/solaar-cli 43 44 - install -Dm444 -t $out/etc/udev/rules.d rules.d/*.rules 45 ''; 46 47 - # No tests 48 - doCheck = false; 49 - 50 meta = with lib; { 51 description = "Linux devices manager for the Logitech Unifying Receiver"; 52 longDescription = '' ··· 61 ''; 62 homepage = "https://pwr-solaar.github.io/Solaar/"; 63 license = licenses.gpl2Only; 64 - maintainers = with maintainers; [ spinus ysndr ]; 65 platforms = platforms.linux; 66 }; 67 }
··· 10 }: 11 12 # Although we copy in the udev rules here, you probably just want to use 13 + # `logitech-udev-rules`, which is an alias to `udev` output of this derivation, 14 + # instead of adding this to `services.udev.packages` on NixOS, 15 python3Packages.buildPythonApplication rec { 16 pname = "solaar"; 17 + version = "1.1.4"; 18 19 src = fetchFromGitHub { 20 owner = "pwr-Solaar"; 21 repo = "Solaar"; 22 rev = version; 23 + hash = "sha256-nDfVF7g0M54DRpkH1rnZB8o+nCV4A6b1uKMOMRQ3GbI="; 24 }; 25 26 + outputs = [ "out" "udev" ]; 27 + 28 nativeBuildInputs = [ wrapGAppsHook gdk-pixbuf ]; 29 buildInputs = [ libappindicator librsvg ]; 30 ··· 44 postInstall = '' 45 ln -s $out/bin/solaar $out/bin/solaar-cli 46 47 + install -Dm444 -t $udev/etc/udev/rules.d rules.d-uinput/*.rules 48 ''; 49 50 meta = with lib; { 51 description = "Linux devices manager for the Logitech Unifying Receiver"; 52 longDescription = '' ··· 61 ''; 62 homepage = "https://pwr-solaar.github.io/Solaar/"; 63 license = licenses.gpl2Only; 64 + maintainers = with maintainers; [ spinus ysndr oxalica ]; 65 platforms = platforms.linux; 66 }; 67 }
-19
pkgs/os-specific/linux/logitech-udev-rules/default.nix
··· 1 - { lib, stdenv, solaar }: 2 - 3 - # ltunifi and solaar both provide udev rules but solaar's rules are more 4 - # up-to-date so we simply use that instead of having to maintain our own rules 5 - 6 - stdenv.mkDerivation { 7 - pname = "logitech-udev-rules"; 8 - inherit (solaar) version; 9 - 10 - buildCommand = '' 11 - install -Dm444 -t $out/etc/udev/rules.d ${solaar.src}/rules.d/*.rules 12 - ''; 13 - 14 - meta = with lib; { 15 - description = "udev rules for Logitech devices"; 16 - inherit (solaar.meta) homepage license platforms; 17 - maintainers = with maintainers; [ peterhoeg ]; 18 - }; 19 - }
···
+3 -1
pkgs/top-level/all-packages.nix
··· 24961 24962 logiops = callPackage ../misc/drivers/logiops { }; 24963 24964 - logitech-udev-rules = callPackage ../os-specific/linux/logitech-udev-rules { }; 24965 24966 # lohit-fonts.assamese lohit-fonts.bengali lohit-fonts.devanagari lohit-fonts.gujarati lohit-fonts.gurmukhi 24967 # lohit-fonts.kannada lohit-fonts.malayalam lohit-fonts.marathi lohit-fonts.nepali lohit-fonts.odia
··· 24961 24962 logiops = callPackage ../misc/drivers/logiops { }; 24963 24964 + # ltunifi and solaar both provide udev rules but solaar's rules are more 24965 + # up-to-date so we simply use that instead of having to maintain our own rules 24966 + logitech-udev-rules = solaar.udev; 24967 24968 # lohit-fonts.assamese lohit-fonts.bengali lohit-fonts.devanagari lohit-fonts.gujarati lohit-fonts.gurmukhi 24969 # lohit-fonts.kannada lohit-fonts.malayalam lohit-fonts.marathi lohit-fonts.nepali lohit-fonts.odia