guix-commits
[Top][All Lists]
Advanced

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

31/194: gnu: Add rust-glam-0.24.


From: guix-commits
Subject: 31/194: gnu: Add rust-glam-0.24.
Date: Tue, 3 Oct 2023 14:57:16 -0400 (EDT)

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

commit 9afa186dc8470b7118f25fae5098c976fbc15040
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 1 16:25:26 2023 +0300

    gnu: Add rust-glam-0.24.
    
    * gnu/packages/crates-io.scm (rust-glam-0.24): New variable.
    (rust-glam-0.17): Inherit from rust-glam-0.24.
---
 gnu/packages/crates-io.scm | 43 ++++++++++++++++++++++++++++++++++++-------
 1 file changed, 36 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aa26352281..d45dc15627 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28066,27 +28066,34 @@ libcurl, which is intended to be used with the 
@code{git2} crate.")
     (description "Gjson is a JSON parser for Rust.")
     (license license:expat)))
 
-(define-public rust-glam-0.17
+(define-public rust-glam-0.24
   (package
     (name "rust-glam")
-    (version "0.17.3")
+    (version "0.24.2")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "glam" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0xm7jdygbxchdvk6k1l1pdag843nkwdm8fikwgp0i1gxgawk45z0"))))
+        (base32 "0ibrq68ldg1gyynb5ss5hx0gr6p3397cfclh1xrl5prba4bqqhdm"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
+     `(#:cargo-inputs
        (("rust-approx" ,rust-approx-0.5)
+        ("rust-bytecheck" ,rust-bytecheck-0.6)
         ("rust-bytemuck" ,rust-bytemuck-1)
+        ("rust-libm" ,rust-libm-0.2)
         ("rust-mint" ,rust-mint-0.5)
-        ("rust-num-traits" ,rust-num-traits-0.2)
         ("rust-rand" ,rust-rand-0.8)
-        ("rust-serde" ,rust-serde-1))))
+        ("rust-rkyv" ,rust-rkyv-0.7)
+        ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.4)
+        ("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))))
     (home-page "https://github.com/bitshifter/glam-rs";)
     (synopsis "3D math library for games and graphics")
     (description
@@ -28094,6 +28101,28 @@ libcurl, which is intended to be used with the 
@code{git2} crate.")
 graphics.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-glam-0.17
+  (package
+    (inherit rust-glam-0.24)
+    (name "rust-glam")
+    (version "0.17.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "glam" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0xm7jdygbxchdvk6k1l1pdag843nkwdm8fikwgp0i1gxgawk45z0"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-approx" ,rust-approx-0.5)
+        ("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-serde" ,rust-serde-1))))))
+
 (define-public rust-glam-0.16
   (package
     (name "rust-glam")



reply via email to

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