|
|
@ -91,8 +91,8 @@ command line tool called @code{udcli} that incorporates the library.") |
|
|
|
|
|
|
|
|
|
|
|
(define wlroots-for-hyprland |
|
|
|
(define wlroots-for-hyprland |
|
|
|
(let ((base wlroots) |
|
|
|
(let ((base wlroots) |
|
|
|
(revision "669") |
|
|
|
(revision "724") |
|
|
|
(commit "e8d545a9770a2473db32e0a0bfa757b05d2af4f3")) |
|
|
|
(commit "717ded9bb0191ea31bf4368be32e7a15fe1b8294")) |
|
|
|
(package |
|
|
|
(package |
|
|
|
(inherit base) |
|
|
|
(inherit base) |
|
|
|
(name "wlroots") |
|
|
|
(name "wlroots") |
|
|
@ -105,7 +105,7 @@ command line tool called @code{udcli} that incorporates the library.") |
|
|
|
(file-name (git-file-name name version)) |
|
|
|
(file-name (git-file-name name version)) |
|
|
|
(sha256 |
|
|
|
(sha256 |
|
|
|
(base32 |
|
|
|
(base32 |
|
|
|
"1pz8i3g24flswvv762jxnhff67jgl2nvqrj03f84fi1srf769zl2")))) |
|
|
|
"0k4xhdpcv6c38vb2m3khjbikcmj48z3ry1696rv0zijcpcds84kq")))) |
|
|
|
(propagated-inputs |
|
|
|
(propagated-inputs |
|
|
|
(modify-inputs (package-propagated-inputs base) |
|
|
|
(modify-inputs (package-propagated-inputs base) |
|
|
|
(append libdisplay-info-for-hyprland libxcb xcb-util-renderutil) |
|
|
|
(append libdisplay-info-for-hyprland libxcb xcb-util-renderutil) |
|
|
@ -149,32 +149,21 @@ protocols used by Hyprland to bridge the aforementioned gap.") |
|
|
|
(sha256 |
|
|
|
(sha256 |
|
|
|
(base32 "1wj0kwvkkk2r7k18m9i2hdp9i9z7n330dib27jlbc8mjr96976y5")))) |
|
|
|
(base32 "1wj0kwvkkk2r7k18m9i2hdp9i9z7n330dib27jlbc8mjr96976y5")))) |
|
|
|
|
|
|
|
|
|
|
|
(define hyprland-portals-patch |
|
|
|
|
|
|
|
(origin |
|
|
|
|
|
|
|
(method url-fetch) |
|
|
|
|
|
|
|
(uri (string-append "https://github.com/hyprwm/Hyprland" "/raw/" |
|
|
|
|
|
|
|
"64fc19cc811434b81ab9bc6b8c64edbcbfd0cfd4" "/nix/" |
|
|
|
|
|
|
|
"portals.patch")) |
|
|
|
|
|
|
|
(sha256 |
|
|
|
|
|
|
|
(base32 "14nijw02lb0c4h06adki0w7amgxg1m0qj48ds7iq4bq6fkl1m5l0")))) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(define-public hyprland |
|
|
|
(define-public hyprland |
|
|
|
(let ((commit "9654749244117f7f150c6f2a2ce4dede6e8cbb25")) |
|
|
|
|
|
|
|
(package |
|
|
|
(package |
|
|
|
(name "hyprland") |
|
|
|
(name "hyprland") |
|
|
|
;; NOTE: Remember to update commit hash ^ |
|
|
|
(version "0.29.0") |
|
|
|
(version "0.28.0") |
|
|
|
|
|
|
|
(source (origin |
|
|
|
(source (origin |
|
|
|
(method git-fetch) |
|
|
|
(method url-fetch) |
|
|
|
(uri (git-reference |
|
|
|
(uri (string-append "https://github.com/hyprwm/Hyprland" |
|
|
|
(url "https://github.com/hyprwm/Hyprland") |
|
|
|
"/releases/download/v" version |
|
|
|
(commit (string-append "v" version)))) |
|
|
|
"/source-v" version ".tar.gz")) |
|
|
|
(file-name (git-file-name name version)) |
|
|
|
(modules '((guix build utils))) |
|
|
|
(patches (list hyprland-unbundle-wlroots-patch |
|
|
|
(snippet '(delete-file-recursively "subprojects")) |
|
|
|
hyprland-portals-patch)) |
|
|
|
(patches (list hyprland-unbundle-wlroots-patch)) |
|
|
|
(sha256 |
|
|
|
(sha256 |
|
|
|
(base32 |
|
|
|
(base32 |
|
|
|
"1ipg3f1js291vyh9888qsy5hgqqj10m8zzc1y8i1ihgikyzsqlmp")))) |
|
|
|
"0w4lx8ixdv4pi67kavs3r3d4zykmhn4pigch6dwqidgxsf382j9a")))) |
|
|
|
(build-system meson-build-system) |
|
|
|
(build-system meson-build-system) |
|
|
|
(arguments |
|
|
|
(arguments |
|
|
|
(list #:build-type "release" |
|
|
|
(list #:build-type "release" |
|
|
@ -194,13 +183,8 @@ protocols used by Hyprland to bridge the aforementioned gap.") |
|
|
|
(add-after 'unpack 'substitute-meson-build |
|
|
|
(add-after 'unpack 'substitute-meson-build |
|
|
|
(lambda _ |
|
|
|
(lambda _ |
|
|
|
(substitute* "meson.build" |
|
|
|
(substitute* "meson.build" |
|
|
|
(("git") "true") |
|
|
|
(("\\<git\\>") "true") |
|
|
|
(("@GIT_BRANCH@") "main") |
|
|
|
((".*@.*") ""))))))) |
|
|
|
(("@GIT_COMMIT_HASH@") #$commit) |
|
|
|
|
|
|
|
(("@GIT_COMMIT_MESSAGE@") "?") |
|
|
|
|
|
|
|
(("@GIT_DIRTY@") "")) |
|
|
|
|
|
|
|
(substitute* (find-files "src" "\\.cpp") |
|
|
|
|
|
|
|
(("GIT_TAG") (format #f "\"v~a\"" #$version)))))))) |
|
|
|
|
|
|
|
(native-inputs (list gcc-12 jq pkg-config)) |
|
|
|
(native-inputs (list gcc-12 jq pkg-config)) |
|
|
|
(inputs |
|
|
|
(inputs |
|
|
|
(list hyprland-protocols |
|
|
|
(list hyprland-protocols |
|
|
@ -211,11 +195,11 @@ protocols used by Hyprland to bridge the aforementioned gap.") |
|
|
|
(home-page "https://hyprland.org") |
|
|
|
(home-page "https://hyprland.org") |
|
|
|
(synopsis "Dynamic tiling Wayland compositor based on wlroots") |
|
|
|
(synopsis "Dynamic tiling Wayland compositor based on wlroots") |
|
|
|
(description |
|
|
|
(description |
|
|
|
"@code{Hyprland} is a dynamic tiling Wayland compositor based on |
|
|
|
"Hyprland is a dynamic tiling Wayland compositor based on @code{wlroots} |
|
|
|
@code{wlroots} that doesn't sacrifice on its looks. It supports multiple |
|
|
|
that doesn't sacrifice on its looks. It supports multiple layouts, fancy |
|
|
|
layouts, fancy effects, has a very flexible IPC model allowing for a lot of |
|
|
|
effects, has a very flexible IPC model allowing for a lot of customization, and |
|
|
|
customization, and more.") |
|
|
|
more.") |
|
|
|
(license license:bsd-3)))) |
|
|
|
(license license:bsd-3))) |
|
|
|
|
|
|
|
|
|
|
|
(define-public grimblast |
|
|
|
(define-public grimblast |
|
|
|
(package |
|
|
|
(package |
|
|
|