nongnu: Add egl-gbm.

* nongnu/packages/nvidia.scm (egl-gbm): New variable.
This commit is contained in:
Hilton Chain 2024-12-13 22:11:44 +08:00
parent 10e3c2bcae
commit e2ddc617e7
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -21,6 +21,7 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system copy)
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system trivial)
#:use-module (gnu packages base)
@ -864,6 +865,29 @@ variables @code{__GLX_VENDOR_LIBRARY_NAME=nvidia} and
;;;
(define-public egl-gbm
(package
(name "egl-gbm")
(version "1.1.2")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/NVIDIA/egl-gbm")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1rfgfi06ry7c7hnzdm4b0dc8r3hmbfn2rd37z3mc4wn38sgz5l3a"))))
(build-system meson-build-system)
(native-inputs (list pkg-config))
(inputs (list eglexternalplatform mesa-for-nvda))
(synopsis "GBM EGL external platform library")
(description
"This package provides an EGL External Platform library implementation for
GBM EGL support.")
(home-page "https://github.com/NVIDIA/egl-gbm")
(license license-gnu:expat)))
(define-public gpustat
(package
(name "gpustat")