summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 06fe722bf8..9a76efd2ae 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20967,6 +20967,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
+ (package
+ (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"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-approx" ,rust-approx-0.5)
+ ("rust-bytemuck" ,rust-bytemuck-1.5)
+ ("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))))
+ (home-page "https://github.com/bitshifter/glam-rs")
+ (synopsis "3D math library for games and graphics")
+ (description
+ "This package provides a simple and fast 3D math library for games and
+graphics.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-glam-0.16
(package
(name "rust-glam")