diff mbox series

[bug#67515,39/91] gnu: Add rust-egl-0.2.

Message ID DU2P193MB2132291C3717826E555E48F7F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
State New
Headers show
Series [bug#67515,01/91] gnu: Add blueprint-compiler-next. | expand

Commit Message

Sergio Pastor PĂ©rez Nov. 28, 2023, 9:12 p.m. UTC
* 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 mbox series

Patch

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")