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

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

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