[bug#75677,rust-team,v2,34/81] gnu: rust-glam-0.28: New variable.

Message ID 20250308033446.2101481-35-aaron.covrig.us@ieee.org
State New
Headers
Series Assorted package updates for rust-team |

Commit Message

Aaron Covrig March 8, 2025, 3:33 a.m. UTC
  * gnu/packages/crates-io.scm (rust-glam-0.28): New variable.
---
 gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++++++++++-
 1 file changed, 31 insertions(+), 1 deletion(-)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2962c03570..d5051ff93c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30186,10 +30186,40 @@  (define-public rust-glam-0.29
 graphics.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-glam-0.27
+(define-public rust-glam-0.28
   (package
     (inherit rust-glam-0.29)
     (name "rust-glam")
+    (version "0.28.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "glam" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "152sjv2ffb84a28zb4yklkxn5f20idz4xdmkq28wy8c4gszy96kp"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-approx" ,rust-approx-0.5)
+        ("rust-bytecheck" ,rust-bytecheck-0.7)
+        ("rust-bytemuck" ,rust-bytemuck-1)
+        ("rust-libm" ,rust-libm-0.2)
+        ("rust-mint" ,rust-mint-0.5)
+        ("rust-rand" ,rust-rand-0.8)
+        ("rust-rkyv" ,rust-rkyv-0.7)
+        ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.5)
+        ("rust-iai-callgrind" ,rust-iai-callgrind-0.11)
+        ("rust-rand-xoshiro" ,rust-rand-xoshiro-0.6)
+        ("rust-rkyv" ,rust-rkyv-0.7)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))))
+
+(define-public rust-glam-0.27
+  (package
+    (inherit rust-glam-0.28)
+    (name "rust-glam")
     (version "0.27.0")
     (source
      (origin