1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-06-11 21:34:05 +02:00

gnu: niri: Update to 26.04.

* gnu/packages/wm.scm (niri): Update to 26.04.
[source, home-page]: Switch upstream URL to github.com/niri-wm/niri.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs): Update niri
inputs.

Change-Id: I28dd3b5eacc3a76528bf5c93b6912d9971de724d
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Edouard Klein
2026-04-28 16:52:59 +02:00
committed by Efraim Flashner
parent ed91db12a2
commit 36bbdcc14e
3 changed files with 545 additions and 492 deletions
File diff suppressed because it is too large Load Diff
+4 -4
View File
@@ -1015,8 +1015,8 @@ It supports the @code{wayland}, @code{wayland-protocols}, and some external
extensions, such as @code{wlr-protocols} and @code{plasma-wayland-protocols}.")
(license license:expat)))))
(define-public rust-smithay-0.7.0.20d2dac
(let ((commit "20d2dacd71394b5f96f6ace0a70a6f20dc62c0c6"))
(define-public rust-smithay-0.7.0.ff5fa7d
(let ((commit "ff5fa7df392cecfba049ffed55cdaa4e98a8e7ef"))
(hidden-package
(package
(inherit rust-smithay-0.6.0.ede2707)
@@ -1031,8 +1031,8 @@ extensions, such as @code{wlr-protocols} and @code{plasma-wayland-protocols}.")
(file-name (git-file-name name version))
(sha256
(base32
"0h1q1jgyg76axr8h95nv8sg29l15iqnyfr5qfl5rk2wc7iw04avl"))))
(inputs (cargo-inputs 'rust-smithay-0.7.0.20d2dac))))))
"1dfksva7hizx675vh128ibrbf6ggjh2a01jm41qgb0dgyi6wcpsd"))))
(inputs (cargo-inputs 'rust-smithay-0.7.0.ff5fa7d))))))
(define inspired-github-color-scheme-for-rust-syntect-5
(let ((version "1.3.0"))
+9 -7
View File
@@ -2510,16 +2510,16 @@ built on dwl — crafted for speed, flexibility, and a customizable desktop expe
(define-public niri
(package
(name "niri")
(version "25.11")
(version "26.04")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/YaLTeR/niri")
(url "https://github.com/niri-wm/niri")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0752qm245wc2gak0jhp0fnr0rdj3z54m2h97k3cxbjym9pcn658n"))))
"05h9pahlmlfahif7cby3742cxgqi5nv7p3xyz9n9gpfhsdzgih94"))))
(build-system cargo-build-system)
(arguments
(list #:install-source? #f
@@ -2533,11 +2533,13 @@ built on dwl — crafted for speed, flexibility, and a customizable desktop expe
(add-after 'unpack 'use-guix-vendored-dependencies
(lambda _
(substitute* "Cargo.toml"
(("# version =.*")
"version = \"*\"")
(("# version =.*\n")
"version = \"*\"\n")
(("git.*optional")
"version = \"*\", optional")
(("^git = .*")
(("^git = .*\n")
"")
(("^rev = .*\n")
""))))
(add-after 'unpack 'patch-references
(lambda* (#:key inputs #:allow-other-keys)
@@ -2603,7 +2605,7 @@ built on dwl — crafted for speed, flexibility, and a customizable desktop expe
pipewire
wayland
(cargo-inputs 'niri)))
(home-page "https://github.com/YaLTeR/niri")
(home-page "https://github.com/niri-wm/niri")
(synopsis "Scrollable-tiling Wayland compositor")
(description
"Niri is a scrollable-tiling Wayland compositor which arranges windows in a