From dfcdd0f8466a7b76d4856a82edc3ed7c1c760038 Mon Sep 17 00:00:00 2001 From: Saad Nadeem Date: Sat, 7 Feb 2026 18:27:00 -0500 Subject: [PATCH] walker: 0.13.26 -> 2.14.1 --- .../manual/release-notes/rl-2605.section.md | 6 +++ pkgs/by-name/wa/walker/package.nix | 51 +++++++++++++------ 2 files changed, 41 insertions(+), 16 deletions(-) diff --git a/nixos/doc/manual/release-notes/rl-2605.section.md b/nixos/doc/manual/release-notes/rl-2605.section.md index 6961275c9acf..2396dcef6fa3 100644 --- a/nixos/doc/manual/release-notes/rl-2605.section.md +++ b/nixos/doc/manual/release-notes/rl-2605.section.md @@ -94,6 +94,12 @@ of pulling the upstream container image from Docker Hub. If you want the old beh - `services.desktopManager.gnome` no longer installs the Geary e-mail client since it is not part of the GNOME [core applications](https://apps.gnome.org/) list. Geary's position in the default favorite apps section has been replaced by GNOME Text Editor. To keep it installed, add `programs.geary.enable = true;` to your configuration. +- `walker` has been updated to 2.0.0+, which is a complete rewrite in rust. + + It now requires a running `elephant` application launcher backend service, which can be enabled using the new `services.elephpant.enable`. + + The way keybinds and actions are handled have been completely revamped. Please refer to the [default config](https://raw.githubusercontent.com/abenz1267/walker/refs/heads/master/resources/config.toml). + - Support for `reiserfs` in nixpkgs has been removed, following the removal in Linux 6.13. - `services.tor` no longer bind mounts Unix sockets of onion services into its chroot diff --git a/pkgs/by-name/wa/walker/package.nix b/pkgs/by-name/wa/walker/package.nix index 3dc6bf3e1d0f..b7e40a8fba55 100644 --- a/pkgs/by-name/wa/walker/package.nix +++ b/pkgs/by-name/wa/walker/package.nix @@ -1,52 +1,71 @@ { lib, - buildGoModule, fetchFromGitHub, pkg-config, - vips, + protobuf, + glib, gobject-introspection, - wrapGAppsHook4, + gst_all_1, gtk4, gtk4-layer-shell, + gdk-pixbuf, + graphene, + cairo, + pango, + wrapGAppsHook4, + poppler, nix-update-script, - libqalculate, + rustPlatform, }: -buildGoModule (finalAttrs: { +rustPlatform.buildRustPackage (finalAttrs: { pname = "walker"; - version = "0.13.26"; + version = "2.14.1"; src = fetchFromGitHub { owner = "abenz1267"; repo = "walker"; rev = "v${finalAttrs.version}"; - hash = "sha256-LslpfHXj31Lvq+26ZDzCTaGBbxmp7yXlgKT+uwUEEts="; + hash = "sha256-ccwJ1ADGNFd5LDF2JWdfP7+f1Hs2EvJ+2o6sUOdYi7w="; }; - vendorHash = "sha256-N7lNxO/l3E1BlSSbSiQjrDPy2sWwk4G4JYlUArmMJxs="; - subPackages = [ "cmd/walker.go" ]; - - passthru.updateScript = nix-update-script { }; + cargoHash = "sha256-2amur4gkjtYV+CyArBCbMVy9p+2MLl2afQ/diR/4GDo="; nativeBuildInputs = [ - pkg-config gobject-introspection + pkg-config + protobuf wrapGAppsHook4 ]; buildInputs = [ + glib gtk4 - vips gtk4-layer-shell - libqalculate - ]; + gdk-pixbuf + graphene + cairo + pango + poppler + ] + ++ (with gst_all_1; [ + gstreamer + gst-plugins-base + gst-plugins-good + gst-libav + ]); + + passthru.updateScript = nix-update-script { }; meta = { description = "Wayland-native application runner"; homepage = "https://github.com/abenz1267/walker"; license = lib.licenses.mit; platforms = lib.platforms.linux; - maintainers = with lib.maintainers; [ donovanglover ]; + maintainers = with lib.maintainers; [ + donovanglover + saadndm + ]; mainProgram = "walker"; }; })