This commit is contained in:
Daniel Ziltener 2024-01-31 09:45:24 +01:00
parent 323ed2921d
commit c6ca83ba29
Signed by: zilti
GPG Key ID: B38976E82C9DAE42

View File

@ -36,48 +36,70 @@
#:use-module (gnu packages wm) #:use-module (gnu packages wm)
#:use-module (gnu packages xorg)) #:use-module (gnu packages xorg))
(define-public tomlplusplus
(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 cmake-build-system)
(native-inputs
(list python))
(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 hwdata (define-public hwdata
(package (package
(name "hwdata") (name "hwdata")
(version "0.377") ;updated monthly (version "0.377") ;updated monthly
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/vcrhonek/hwdata") (url "https://github.com/vcrhonek/hwdata")
(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
"0pfnghr9i6aazhmhm4chia6bpnqvmrc60q62dx5561av7zkgsdhq")))) "0pfnghr9i6aazhmhm4chia6bpnqvmrc60q62dx5561av7zkgsdhq"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
(list pkg-config)) (list pkg-config))
(outputs '("out" "iab" "oui" "pci" "pnp" "usb")) (outputs '("out" "iab" "oui" "pci" "pnp" "usb"))
(arguments (arguments
;; Tests require pciutils, python, podman. Disable to avoid recursive dep. ;; Tests require pciutils, python, podman. Disable to avoid recursive dep.
(list (list
#:tests? #f #:tests? #f
;; Do not cross-compile, since the package only contains data. ;; Do not cross-compile, since the package only contains data.
#:target #f #:target #f
#:configure-flags #~(list (string-append "--datadir=" #$output "/share")) #:configure-flags #~(list (string-append "--datadir=" #$output "/share"))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'install 'post-install (add-after 'install 'post-install
(lambda _ (lambda _
(install-file "iab.txt" (string-append #$output:iab "/share/hwdata")) (install-file "iab.txt" (string-append #$output:iab "/share/hwdata"))
(install-file "oui.txt" (string-append #$output:oui "/share/hwdata")) (install-file "oui.txt" (string-append #$output:oui "/share/hwdata"))
(install-file "pci.ids" (string-append #$output:pci "/share/hwdata")) (install-file "pci.ids" (string-append #$output:pci "/share/hwdata"))
(install-file "pnp.ids" (string-append #$output:pnp "/share/hwdata")) (install-file "pnp.ids" (string-append #$output:pnp "/share/hwdata"))
(install-file "usb.ids" (string-append #$output:usb "/share/hwdata"))))))) (install-file "usb.ids" (string-append #$output:usb "/share/hwdata")))))))
(home-page "https://github.com/vcrhonek/hwdata") (home-page "https://github.com/vcrhonek/hwdata")
(synopsis "Hardware identification and configuration data") (synopsis "Hardware identification and configuration data")
(description "@code{hwdata} contains various hardware identification and (description "@code{hwdata} contains various hardware identification and
configuration data, such as the @file{pci.ids} and @file{usb.ids} databases. configuration data, such as the @file{pci.ids} and @file{usb.ids} databases.
Each database is contained in a specific package output, such as the Each database is contained in a specific package output, such as the
@code{pci} output for @file{pci.ids}, the @code{usb} output for @code{pci} output for @file{pci.ids}, the @code{usb} output for
@file{usb.ids}, etc.") @file{usb.ids}, etc.")
(license (list license:gpl2+ (license (list license:gpl2+
license:expat)))) ;XFree86 1.0 license:expat)))) ;XFree86 1.0
(define-public libinput-1.24 (define-public libinput-1.24
;; Updating this will rebuild over 700 packages through libinput-minimal. ;; Updating this will rebuild over 700 packages through libinput-minimal.
@ -323,7 +345,7 @@ Wayland compositor based on wlroots") (description "Hyprland.")
(define-public hyprland (define-public hyprland
(package (package
(name "hyprland") (name "hyprland")
(version "0.33.1") (version "0.34.0")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -333,7 +355,7 @@ Wayland compositor based on wlroots") (description "Hyprland.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1b4d6r68cqx09blf5xdr1c23hw7axr8sx21wsxjjygqrhkkabdx7")) "0jsqfg8yk2b1z52fmqw1jjn6b8qkfh5x0xk1j0zx7ng4il2f6ajr"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
#~(begin #~(begin
@ -376,6 +398,7 @@ Wayland compositor based on wlroots") (description "Hyprland.")
libxkbcommon libxkbcommon
libdrm-2.4.118 libdrm-2.4.118
mesa mesa
tomlplusplus
wayland wayland
wayland-protocols wayland-protocols
pango pango