aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-graphics.scm
diff options
context:
space:
mode:
authorGiacomo Leidi <goodoldpaul@autistici.org>2024-11-07 23:22:05 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-11-28 11:05:24 +0200
commit3f3c2408a8e816296ec63af170b5692e6f769870 (patch)
treefa920a699d7d8f0327e004b17d0d85316d559d6f /gnu/packages/crates-graphics.scm
parentccba19599c8a4f24fcdddf1c767b38872e4f3298 (diff)
downloadguix-3f3c2408a8e816296ec63af170b5692e6f769870.tar.gz
guix-3f3c2408a8e816296ec63af170b5692e6f769870.zip
gnu: Add rust-khronos-egl-5.
* gnu/packages/crates-graphics.scm (rust-khronos-egl-5): New variable. Change-Id: I37f5b4e4a08d51e7dd2b7d6638b5f2c8c9e87c90 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-graphics.scm')
-rw-r--r--gnu/packages/crates-graphics.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 0927629b58..1e3e9a6e9a 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -16,6 +16,7 @@
;;; Copyright © 2023, 2024 Jaeme Sifat <jaeme@runbox.com>
;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com>
;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com>
+;;; Copyright © 2024 Giacomo Leidi <goodoldpaul@autistici.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2730,6 +2731,36 @@ It's features include:
@end enumerate")
(license license:expat)))
+(define-public rust-khronos-egl-5
+ (package
+ (name "rust-khronos-egl")
+ (version "5.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "khronos-egl" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1qw31jzaly1kcn2smicmcm6g4y5sh0y5l8fnaca85ssaq0b2nf6i"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; error: doctest failed
+ `(#:tests? #f
+ #:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-libloading" ,rust-libloading-0.8)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))
+ #:cargo-development-inputs
+ (("rust-gl" ,rust-gl-0.14)
+ ("rust-wayland-client" ,rust-wayland-client-0.28)
+ ("rust-wayland-egl" ,rust-wayland-egl-0.28)
+ ("rust-wayland-protocols" ,rust-wayland-protocols-0.28))))
+ (native-inputs (list pkg-config wayland))
+ (inputs (list mesa))
+ (home-page "https://github.com/timothee-haudebourg/khronos-egl")
+ (synopsis "Rust bindings for EGL")
+ (description "This package provides Rust bindings for EGL.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-libdav1d-sys-0.6
(package
(name "rust-libdav1d-sys")