Subject: [PATCH 39/91] gnu: Add rust-egl-0.2.

From: Sergio Pastor Pérez <[email-masked]>
Date: Tue, 28 Nov 2023 22:12:17 +0100

* gnu/packages/crates-io.scm (rust-egl-0.2): New variable.

Change-Id: I2a5789763f59f3bd62ab6fd154efaf7b4c248550
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6e604d49e6..9090141f4f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23078,6 +23078,27 @@ (define-public rust-edit-distance-2
      "Levenshtein edit distance between strings, a measure for similarity.")
     (license license:asl2.0)))
 
+(define-public rust-egl-0.2
+  (package
+    (name "rust-egl")
+    (version "0.2.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "egl" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0bbmn2j2j7qpc7rhkv740sfx080w3n9lbcnibgqiy2r08jcbqwx3"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-khronos" ,rust-khronos-0.1)
+                       ("rust-libc" ,rust-libc-0.2))))
+    (inputs (list mesa))
+    (home-page "https://github.com/seankerr/rust-egl")
+    (synopsis "Rust bindings for EGL")
+    (description "Rust bindings for EGL")
+    (license license:asl2.0)))
+
 (define-public rust-ego-tree-0.6
   (package
     (name "rust-ego-tree")
-- 
2.41.0