.
This commit is contained in:
parent
5105194148
commit
07b8057a74
1 changed files with 127 additions and 85 deletions
|
@ -43,6 +43,7 @@
|
||||||
#:use-module (gnu packages python)
|
#:use-module (gnu packages python)
|
||||||
#:use-module (gnu packages python-xyz)
|
#:use-module (gnu packages python-xyz)
|
||||||
#:use-module (gnu packages pkg-config)
|
#:use-module (gnu packages pkg-config)
|
||||||
|
#:use-module (gnu packages qt)
|
||||||
#:use-module (gnu packages version-control)
|
#:use-module (gnu packages version-control)
|
||||||
#:use-module (gnu packages xdisorg)
|
#:use-module (gnu packages xdisorg)
|
||||||
#:use-module (gnu packages rust)
|
#:use-module (gnu packages rust)
|
||||||
|
@ -998,26 +999,27 @@ Wayland compositor based on wlroots") (description "Hyprland.")
|
||||||
(description "EDID and DisplayID library")
|
(description "EDID and DisplayID library")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
|
||||||
(define-public hyprlang
|
(define-public hyprlang
|
||||||
(package
|
(package
|
||||||
(name "hyprlang")
|
(name "hyprlang")
|
||||||
(version "0.5.0")
|
(version "0.5.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/hyprwm/hyprlang")
|
(url "https://github.com/hyprwm/hyprlang")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0f8mahg6d6wylybvh6hgayls57miwwv4w69fbaskd8d7dkg2h7kd"))))
|
"0f8mahg6d6wylybvh6hgayls57miwwv4w69fbaskd8d7dkg2h7kd"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list gcc-13))
|
(list gcc-13))
|
||||||
(home-page "https://www.hyprland.org")
|
(home-page "https://www.hyprland.org")
|
||||||
(synopsis "The official implementation library for the hypr config language.")
|
(synopsis "The official implementation library for the hypr config language.")
|
||||||
(description "The hypr configuration language is an extremely efficient, yet easy to work with, configuration language for linux applications.")
|
(description "The hypr configuration language is an extremely efficient, yet easy to work with, configuration language for linux applications.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public hyprcursor
|
(define-public hyprcursor
|
||||||
(package
|
(package
|
||||||
|
@ -1050,73 +1052,113 @@ Wayland compositor based on wlroots") (description "Hyprland.")
|
||||||
(description "The hyprland cursor format, library and utilities.")
|
(description "The hyprland cursor format, library and utilities.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
|
(define-public xdg-desktop-portal-hyprland
|
||||||
|
(package
|
||||||
|
(name "xdg-desktop-portal-hyprland")
|
||||||
|
(version "1.3.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/hyprwm/xdg-desktop-portal-hyprland")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0fdbzxanmmzrvb9wfzg1pdsnlg7dl6v5k8bl44w10n48s7bbbzn0"))))
|
||||||
|
(build-system meson-build-system)
|
||||||
|
(native-inputs
|
||||||
|
(list gcc-13
|
||||||
|
cmake
|
||||||
|
mesa-headers-24
|
||||||
|
pkg-config))
|
||||||
|
(inputs
|
||||||
|
(list hyprlang
|
||||||
|
hyprland-protocols
|
||||||
|
libdrm-2.4.120
|
||||||
|
mesa-24
|
||||||
|
pipewire
|
||||||
|
qtbase
|
||||||
|
qttools
|
||||||
|
qtwayland
|
||||||
|
sdbus-c++
|
||||||
|
wayland-protocols
|
||||||
|
wayland))
|
||||||
|
(home-page "https://www.hyprland.org")
|
||||||
|
(synopsis "xdg-desktop-portal backend for hyprland")
|
||||||
|
(description "xdg-desktop-portal backend for hyprland.")
|
||||||
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public hyprland
|
(define-public hyprland
|
||||||
(package
|
(package
|
||||||
(name "hyprland")
|
(name "hyprland")
|
||||||
(version "0.37.1")
|
(version "0.37.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/hyprwm/Hyprland")
|
(url "https://github.com/hyprwm/Hyprland")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1qkiyfcb3y61kwc1gqdsav87299ji7xr5j6zbh8wgam720mgivav"))
|
"1qkiyfcb3y61kwc1gqdsav87299ji7xr5j6zbh8wgam720mgivav"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
#~(begin
|
#~(begin
|
||||||
(copy-file "src/version.h.in" "src/version.h")
|
(copy-file "src/version.h.in" "src/version.h")
|
||||||
(substitute* "src/version.h"
|
(substitute* "src/version.h"
|
||||||
(("@HASH@") #$version)
|
(("@HASH@") #$version)
|
||||||
(("@BRANCH@") "")
|
(("@BRANCH@") "")
|
||||||
(("@MESSAGE@") "")
|
(("@MESSAGE@") "")
|
||||||
(("@TAG@") "")
|
(("@TAG@") "")
|
||||||
(("@DIRTY@") ""))
|
(("@DIRTY@") ""))
|
||||||
(substitute* "src/render/OpenGL.cpp"
|
(substitute* "src/render/OpenGL.cpp"
|
||||||
(("/usr") "$out"))))))
|
(("/usr") "$out"))))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-before 'configure
|
(add-before 'configure
|
||||||
'pre-configure
|
'pre-configure
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(system "patch -p1 -i nix/patches/meson-build.patch")
|
(system "patch -p1 -i nix/patches/meson-build.patch")
|
||||||
(system "cat src/meson.build"))))))
|
(system "cat src/meson.build"))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list gcc-13
|
(list gcc-13
|
||||||
jq
|
cmake
|
||||||
git
|
jq
|
||||||
mesa-headers-24
|
git
|
||||||
pkg-config))
|
mesa-headers-24
|
||||||
(inputs
|
pkg-config))
|
||||||
(list cairo-1.18.0
|
(inputs
|
||||||
egl-wayland
|
(list cairo-1.18.0
|
||||||
glu
|
egl-gbm
|
||||||
glfw
|
egl-wayland
|
||||||
hyprland-protocols
|
glu
|
||||||
hyprcursor
|
glfw
|
||||||
hyprlang
|
hyprland-protocols
|
||||||
libdisplay-info
|
hyprcursor
|
||||||
libglvnd
|
hyprlang
|
||||||
libinput-1.25
|
xdg-desktop-portal-hyprland
|
||||||
libxkbcommon
|
libdisplay-info
|
||||||
libdrm-2.4.120
|
libglvnd
|
||||||
mesa-24
|
libinput-1.25
|
||||||
tomlplusplus
|
libxkbcommon
|
||||||
wayland
|
libdrm-2.4.120
|
||||||
wayland-protocols
|
mesa-24
|
||||||
xorg-server-xwayland
|
tomlplusplus
|
||||||
pango
|
wayland
|
||||||
pciutils
|
wayland-protocols
|
||||||
udis86
|
xorg-server-xwayland
|
||||||
wayland
|
pango
|
||||||
wlroots-hyprland
|
pciutils
|
||||||
xcb-util))
|
udis86
|
||||||
(home-page "https://www.hyprland.org")
|
wayland
|
||||||
(synopsis "Dynamic tiling
|
wlroots-hyprland
|
||||||
|
xcb-util))
|
||||||
|
(home-page "https://www.hyprland.org")
|
||||||
|
(synopsis "Dynamic tiling
|
||||||
Wayland compositor based on wlroots")
|
Wayland compositor based on wlroots")
|
||||||
(description "Hyprland.")
|
(description "Hyprland.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
Loading…
Reference in a new issue