diff mbox series

[bug#67515,37/91] gnu: Add rust-khronos-0.1.

Message ID DU2P193MB213262E80F0DD80DD144C400F3BCA@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-khronos-0.1): New variable.

Change-Id: Ib45497c23aa8e49a28b910d19419837e07216fe8
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 152cf7367c..2db7ddfe52 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36266,6 +36266,25 @@  (define-public rust-keyring-2
 passwords/credentials.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-khronos-0.1
+  (package
+    (name "rust-khronos")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "khronos" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0l4zr3d3kzzvdrrz6crz5zmqrczwdgsg2y49zaqnxfp6h2m1lwf0"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.1))))
+    (home-page "https://github.com/seankerr/rust-khronos")
+    (synopsis "Rust types for Khronos API")
+    (description "Rust types for Khronos API")
+    (license license:asl2.0)))
+
 (define-public rust-khronos-api-3
   (package
     (name "rust-khronos-api")