guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

33/276: gnu: Add rust-glam-0.22.


From: guix-commits
Subject: 33/276: gnu: Add rust-glam-0.22.
Date: Wed, 18 Oct 2023 04:48:57 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 17ff7f7b6ff7fea3ec010a6fe111ed5108e9b623
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 1 16:26:51 2023 +0300

    gnu: Add rust-glam-0.22.
    
    * gnu/packages/crates-io.scm (rust-glam-0.22): New variable.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6e2d5245dc..02cc32270a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28191,6 +28191,34 @@ graphics.")
         ("rust-serde-json" ,rust-serde-json-1)
         ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))))
 
+(define-public rust-glam-0.22
+  (package
+    (inherit rust-glam-0.24)
+    (name "rust-glam")
+    (version "0.22.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "glam" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0x57gyrxyfs409b3f5i64yy2pbcgkr2qkq8v3a0mmm8vdkargx8j"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-approx" ,rust-approx-0.5)
+        ("rust-bytecheck" ,rust-bytecheck-0.6)
+        ("rust-bytemuck" ,rust-bytemuck-1)
+        ("rust-mint" ,rust-mint-0.5)
+        ("rust-num-traits" ,rust-num-traits-0.2)
+        ("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.3)
+        ("rust-rand-xoshiro" ,rust-rand-xoshiro-0.6)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))))
+
 (define-public rust-glam-0.17
   (package
     (inherit rust-glam-0.24)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]