22 python3Packages.buildPythonApplication rec {
25 pyproject = false; # Built with meson
27 src = fetchFromGitHub {
30 rev = "refs/tags/${version}";
31 hash = "sha256-OpNzJwEjLni/vG1RtRSH29wovMRwKzJn+Vep1vZDEFM=";
35 # https://github.com/NixOS/nixpkgs/issues/302605
36 # But since the author only builds on flatpak, we don't expect much on it...
38 substituteInPlace build-aux/meson/postinstall.py \
39 --replace-fail 'gtk-update-icon-cache' 'gtk4-update-icon-cache'
41 # Use gtk4 instead of gtk3 to get smaller closure size
43 substituteInPlace src/providers/AppImageProvider.py \
44 --replace-fail "gtk-launch" "gtk4-launch"
46 # We don't have `arch` in coreutils, so just return a string in advance
48 substituteInPlace src/AppDetails.py \
49 --replace-fail "sandbox_sh(['arch'])" '"${stdenv.hostPlatform.uname.processor}"'
61 buildInputs = [ libadwaita ];
63 dependencies = with python3Packages; [
73 "\${gappsWrapperArgs[@]}"
80 desktop-file-utils # update-desktop-database
81 gtk4.dev # gtk4-launch
83 libnotify # notify-send
89 description = "Manage AppImages with ease";
93 - Integrate AppImages into your app menu with just one click
94 - Drag and drop files directly from your file manager
95 - Keep all the AppImages organized in a custom folder
96 - Open new AppImages directly with Gear lever
97 - Manage updates: keep older versions installed or replace
98 them with the latest release
99 - Save CLI apps with their executable name automatically
100 - Modern and Fresh UI
102 homepage = "https://mijorus.it/projects/gearlever";
103 license = with lib.licenses; [
107 mainProgram = "gearlever";
108 maintainers = with lib.maintainers; [ aleksana ];
109 platforms = lib.platforms.linux;