From dd0ae92d6974d4262afbd0653cd812f47660e08a Mon Sep 17 00:00:00 2001 From: Linus Karl Date: Thu, 21 Nov 2024 09:57:59 +0100 Subject: [PATCH] wootility: 4.6.21 -> 4.7.2 --- pkgs/by-name/wo/wootility/package.nix | 31 ++++++++++++++++----------- 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/pkgs/by-name/wo/wootility/package.nix b/pkgs/by-name/wo/wootility/package.nix index 265f7f9c35ce17..bfcb9e13944e4e 100644 --- a/pkgs/by-name/wo/wootility/package.nix +++ b/pkgs/by-name/wo/wootility/package.nix @@ -1,15 +1,16 @@ -{ appimageTools -, fetchurl -, lib -, makeWrapper +{ + appimageTools, + fetchurl, + lib, + makeWrapper, }: let pname = "wootility"; - version = "4.6.21"; + version = "4.7.2"; src = fetchurl { url = "https://s3.eu-west-2.amazonaws.com/wooting-update/wootility-lekker-linux-latest/wootility-lekker-${version}.AppImage"; - sha256 = "sha256-ockTQLZWbYvsLzv+D0exD5W/yMaIdse4/JQshbkVzAU="; + sha256 = "sha256-2xIiSMFyJjmjBQ6GJYtc0VbZkTadV2Ov/mXQcJ8yq2U="; }; in @@ -19,8 +20,10 @@ appimageTools.wrapType2 { nativeBuildInputs = [ makeWrapper ]; extraInstallCommands = - let contents = appimageTools.extract { inherit pname version src; }; - in '' + let + contents = appimageTools.extract { inherit pname version src; }; + in + '' wrapProgram $out/bin/wootility \ --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" @@ -35,16 +38,20 @@ appimageTools.wrapType2 { export LC_ALL=C.UTF-8 ''; - extraPkgs = pkgs: with pkgs; ([ - xorg.libxkbfile - ]); + extraPkgs = + pkgs: with pkgs; ([ + xorg.libxkbfile + ]); meta = { homepage = "https://wooting.io/wootility"; description = "Customization and management software for Wooting keyboards"; platforms = lib.platforms.linux; license = lib.licenses.unfree; - maintainers = with lib.maintainers; [ davidtwco sodiboo ]; + maintainers = with lib.maintainers; [ + davidtwco + sodiboo + ]; mainProgram = "wootility"; }; }