input-leap: 3.0.2 -> 3.0.3

This PR bumps Input Leap to v3.0.3

It also removes the now-merged patch for a Qt bug, and updates the filename used for the XDG .desktop file.

Fixes: #400513
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
This commit is contained in:
Dom Rodriguez
2025-06-26 20:11:00 +00:00
parent 0acdb4e93a
commit 7a61ac36c7
+2 -16
View File
@@ -2,7 +2,6 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch2,
cmake,
withLibei ? true,
@@ -29,13 +28,13 @@
stdenv.mkDerivation rec {
pname = "input-leap";
version = "3.0.2";
version = "3.0.3";
src = fetchFromGitHub {
owner = "input-leap";
repo = "input-leap";
rev = "v${version}";
hash = "sha256-YkBHvwN573qqQWe/p0n4C2NlyNQHSZNz2jyMKGPITF4=";
hash = "sha256-zSaeeMlhpWIX3y4OmZ7eHXCu1HPP7NU5HFkME/JZjuQ=";
fetchSubmodules = true;
};
@@ -65,14 +64,6 @@ stdenv.mkDerivation rec {
libportal
];
patches = [
(fetchpatch2 {
# Upstream fix for crash on qt6.8 https://github.com/input-leap/input-leap/issues/2067
url = "https://github.com/input-leap/input-leap/commit/2641bc502e16b1fb7372b43e94d4b894cbc71279.patch?full_index=1";
hash = "sha256-LV09ITcE0ihKMByM5wiRetGwKbPrJbVY6HjZLqa8Dcs=";
})
];
cmakeFlags = [
"-DINPUTLEAP_REVISION=${builtins.substring 0 8 src.rev}"
] ++ lib.optional withLibei "-DINPUTLEAP_BUILD_LIBEI=ON";
@@ -85,11 +76,6 @@ stdenv.mkDerivation rec {
)
'';
postFixup = ''
substituteInPlace $out/share/applications/io.github.input_leap.InputLeap.desktop \
--replace "Exec=input-leap" "Exec=$out/bin/input-leap"
'';
meta = {
description = "Open-source KVM software";
longDescription = ''