solaar: 1.1.3 -> 1.1.4 and move udev rules to an individual output

This commit is contained in:
oxalica 2022-07-05 14:55:59 +08:00
parent cf3ab54b4a
commit f4697343c6

View File

@ -13,15 +13,17 @@
# logitech-udev-rules instead of adding this to services.udev.packages on NixOS
python3Packages.buildPythonApplication rec {
pname = "solaar";
version = "1.1.3";
version = "1.1.4";
src = fetchFromGitHub {
owner = "pwr-Solaar";
repo = "Solaar";
rev = version;
hash = "sha256-6z22MnhUL9Da3G7UDmZsBAi2gHLNpiFEwe+pAtnP91s=";
hash = "sha256-nDfVF7g0M54DRpkH1rnZB8o+nCV4A6b1uKMOMRQ3GbI=";
};
outputs = [ "out" "udev" ];
nativeBuildInputs = [ wrapGAppsHook gdk-pixbuf ];
buildInputs = [ libappindicator librsvg ];
@ -41,12 +43,9 @@ python3Packages.buildPythonApplication rec {
postInstall = ''
ln -s $out/bin/solaar $out/bin/solaar-cli
install -Dm444 -t $out/etc/udev/rules.d rules.d/*.rules
install -Dm444 -t $udev/etc/udev/rules.d rules.d-uinput/*.rules
'';
# No tests
doCheck = false;
meta = with lib; {
description = "Linux devices manager for the Logitech Unifying Receiver";
longDescription = ''
@ -61,7 +60,7 @@ python3Packages.buildPythonApplication rec {
'';
homepage = "https://pwr-solaar.github.io/Solaar/";
license = licenses.gpl2Only;
maintainers = with maintainers; [ spinus ysndr ];
maintainers = with maintainers; [ spinus ysndr oxalica ];
platforms = platforms.linux;
};
}