diff options
-rw-r--r-- | gnu/packages/crates-io.scm | 43 |
1 files changed, 36 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fed4ac55d4..62840f857b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -28128,27 +28128,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 @@ -28156,6 +28163,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") |