This commit is contained in:
Daniel Ziltener 2024-04-22 23:39:35 +02:00
parent 2410df86b7
commit bb066753e2
Signed by: zilti
GPG key ID: B38976E82C9DAE42

View file

@ -53,6 +53,8 @@
#:use-module #:use-module
(gnu packages cpio) (gnu packages cpio)
#:use-module #:use-module
(gnu packages cpp)
#:use-module
(gnu packages docbook) (gnu packages docbook)
#:use-module #:use-module
(gnu packages elf) (gnu packages elf)
@ -112,31 +114,6 @@
((zilti packages utilities) ((zilti packages utilities)
#:prefix utils:)) #:prefix utils:))
(define-public tomlplusplus ;; SENT to Guix
(package
(name "tomlplusplus")
(version "3.4.0")
(source
(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/marzer/tomlplusplus")
(commit
(string-append "v" version))))
(sha256
(base32
"1hvbifzcc97r9jwjzpnq31ynqnj5y93cjz4frmgddnkg8hxmp6w7"))))
(build-system meson-build-system)
(native-inputs
(list python utils:cmake))
(arguments
(list #:tests? #f))
(home-page "https://marzer.github.io/tomlplusplus/")
(synopsis "Header-only TOML config file parser and serializer for C++17")
(description "Header-only TOML config file parser and serializer for C++17.")
(license license:expat)))
(define-public libliftoff (define-public libliftoff
(package (package
(name "libliftoff") (name "libliftoff")
@ -165,29 +142,6 @@ way. Users create \"virtual planes\" called layers, set KMS properties on them,
and libliftoff will pick hardware planes for these layers if possible.") and libliftoff will pick hardware planes for these layers if possible.")
(license license:expat))) (license license:expat)))
(define cairo-for-hyprland
(package
(inherit cairo)
(name "cairo")
(version "1.18.0")
(source
(origin
(method url-fetch)
(uri
(string-append "https://cairographics.org/releases/cairo-"
version ".tar.xz"))
(sha256
(base32
"0r0by563s75xyzz0d0j1nmjqmdrk2x9agk7r57p3v8vqp4v0ffi4"))))
(build-system meson-build-system)
(arguments
(list #:tests? #f
#:glib-or-gtk? #t
#:configure-flags
#~(list "-Dspectre=disabled")))
(outputs
'("out"))))
(define hwdata-for-hyprland (define hwdata-for-hyprland
(package (package
(inherit hwdata) (inherit hwdata)
@ -273,7 +227,7 @@ and libliftoff will pick hardware planes for these layers if possible.")
(define-public hyprland (define-public hyprland
(package (package
(name "hyprland") (name "hyprland")
(version "0.39.0") (version "0.39.1")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -285,7 +239,7 @@ and libliftoff will pick hardware planes for these layers if possible.")
(recursive? #t))) (recursive? #t)))
(sha256 (sha256
(base32 (base32
"0v6xadkrl138irq43s7y747krdirqz9fskw74jbizs5nij1qm9qi")))) "1b2l1j7i7fgy66c1nai7z16l0a95ay3xqq7yr2r6h7sq0jlnpgpc"))))
(build-system cmake-build-system ) (build-system cmake-build-system )
(arguments (arguments
(list #:build-type "release" (list #:build-type "release"
@ -317,7 +271,7 @@ and libliftoff will pick hardware planes for these layers if possible.")
jq jq
pkg-config)) pkg-config))
(inputs (inputs
(list cairo-for-hyprland (list cairo
eudev eudev
gcc-13 gcc-13
hwdata-for-hyprland hwdata-for-hyprland
@ -377,20 +331,49 @@ more.")
(append xcb-util-wm) (append xcb-util-wm)
(append xorg-server-xwayland))))) (append xorg-server-xwayland)))))
(define hyprland-official-plugin
(package
(name "hyprland-official-plugin")
(version "e9457e08ca3ff16dc5a815be62baf9e18b539197")
(source
(origin (method git-fetch)
(uri (git-reference
(url "https://github.com/hyprwm/hyprland-plugins")
(commit version)))
(sha256
(base32
"1zh5x83nfr5893snnz38kmxvj31m8n8pgjdd0759amm41f4gw2ia"))))
(build-system meson-build-system)
(native-inputs
(list gcc-13
pkg-config
hyprland
wayland))
(inputs
(list pango
cairo
pixman
libdrm-for-hyprland
libinput
libxkbcommon))
(home-page "https://github.com/hyprwm/hyprland-plugins")
(synopsis "A template for official hyprland plugins")
(description "A template for official hyprland plugins")
(license license:bsd-3)))
(define-public hyprland-plugin-hyprsplit (define-public hyprland-plugin-hyprsplit
(package (package
(name "hyprland-plugin-hyprsplit") (name "hyprland-plugin-hyprsplit")
(version "3b71eaf") (version "6b9db62fab91066bb678f14198771b8e8cc12a8f")
(source (source
(origin (origin (method git-fetch)
(method git-fetch) (uri
(uri (git-reference
(git-reference (url "https://github.com/shezdy/hyprsplit.git")
(url "https://github.com/shezdy/hyprsplit.git") (commit version)))
(commit version))) (sha256
(sha256 (base32
(base32 "1zh5x83nfr5893snnz38kmxvj31m8n8pgjdd0759amm41f4gw3ia"))))
"0cqr5h5lkwcadavsh9yx0xbc88rlr29s3zws1694ya8ayalbappx"))))
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
(list (list
@ -407,7 +390,7 @@ more.")
pkg-config pkg-config
wayland)) wayland))
(inputs (inputs
(list cairo-for-hyprland (list cairo
hyprlang hyprlang
libdrm-for-hyprland libdrm-for-hyprland
libinput libinput
@ -470,7 +453,7 @@ more.")
(list gcc-13 (list gcc-13
pkg-config)) pkg-config))
(inputs (inputs
(list cairo-for-hyprland (list cairo
mesa mesa
rosenthal:hyprland-protocols rosenthal:hyprland-protocols
wayland-protocols-for-hyprland wayland-protocols-for-hyprland
@ -489,7 +472,7 @@ more.")
(define-public hypridle (define-public hypridle
(package (package
(name "hypridle") (name "hypridle")
(version "0.1.1") (version "0.1.2")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -500,7 +483,7 @@ more.")
(string-append "v" version)))) (string-append "v" version))))
(sha256 (sha256
(base32 (base32
"0k0izx34zp65lawl25n8my2m4yfql9zmfljlkz50k4yr8d9qbb31")))) "10l0yxy1avryjj54gimw2blhl7348dypyhh43b73a8ncjicpjnzc"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
(list (list
@ -554,7 +537,7 @@ more.")
egl-wayland egl-wayland
eglexternalplatform)) eglexternalplatform))
(inputs (inputs
(list cairo-for-hyprland (list cairo
pango pango
linux-pam linux-pam
mesa mesa