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

Message ID 20250308033446.2101481-33-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.27): New variable.
---
 gnu/packages/crates-io.scm | 31 ++++++++++++++++++++++++++++++-
 1 file changed, 30 insertions(+), 1 deletion(-)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3925ff5f78..bcd4211f0d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30186,10 +30186,39 @@  (define-public rust-glam-0.29
 graphics.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-glam-0.24
+(define-public rust-glam-0.27
   (package
     (inherit rust-glam-0.29)
     (name "rust-glam")
+    (version "0.27.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "glam" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1fawkrkbivdds5lzczk1rx37b7s3apl2cywch7s5ad1yfbkff1cy"))))
+    (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-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.24
+  (package
+    (inherit rust-glam-0.27)
+    (name "rust-glam")
     (version "0.24.2")
     (source
      (origin