From 5b9b47844ccf76d84a933b546264cbdd0e4eff40 Mon Sep 17 00:00:00 2001 From: FliegendeWurst <2012gdwu+github@posteo.de> Date: Mon, 14 Oct 2024 13:25:00 +0200 Subject: [PATCH] input-leap: unstable-2023-12-27 -> 3.0.2 --- pkgs/applications/misc/input-leap/default.nix | 13 +++++++------ pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/misc/input-leap/default.nix b/pkgs/applications/misc/input-leap/default.nix index 9f40735771fc..a826afefc63a 100644 --- a/pkgs/applications/misc/input-leap/default.nix +++ b/pkgs/applications/misc/input-leap/default.nix @@ -1,5 +1,5 @@ { lib -, mkDerivation +, stdenv , fetchFromGitHub , cmake @@ -22,21 +22,22 @@ , qtbase , qttools , wrapGAppsHook3 +, wrapQtAppsHook }: -mkDerivation rec { +stdenv.mkDerivation rec { pname = "input-leap"; - version = "unstable-2023-12-27"; + version = "3.0.2"; src = fetchFromGitHub { owner = "input-leap"; repo = "input-leap"; - rev = "ecf1fb6645af7b79e6ea984d3c9698ca0ab6f391"; - hash = "sha256-TEv1xR1wUG3wXNATLLIZKOtW05X96wsPNOlE77OQK54="; + rev = "v${version}"; + hash = "sha256-YkBHvwN573qqQWe/p0n4C2NlyNQHSZNz2jyMKGPITF4="; fetchSubmodules = true; }; - nativeBuildInputs = [ pkg-config cmake wrapGAppsHook3 qttools ]; + nativeBuildInputs = [ pkg-config cmake wrapGAppsHook3 wrapQtAppsHook qttools ]; buildInputs = [ curl qtbase avahi libX11 libXext libXtst libXinerama libXrandr libXdmcp libICE libSM diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 491f6c861dea..d5eae3adcae6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -29002,7 +29002,7 @@ with pkgs; icesl = callPackage ../applications/misc/icesl { }; - input-leap = libsForQt5.callPackage ../applications/misc/input-leap { + input-leap = qt6Packages.callPackage ../applications/misc/input-leap { avahi = avahi.override { withLibdnssdCompat = true; }; };