summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/crates-io.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1fc0fc3e3b..9c7e5f489a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20797,6 +20797,37 @@ 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.13
+ (package
+ (name "rust-glam")
+ (version "0.13.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glam" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ps7f44844ydj7cjr7wk1hn2d83ds1ilq7p9b2vvhr0711b5n5bh"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("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.7)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-spirv-std" ,rust-spirv-std-0.4))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-rand-xoshiro" ,rust-rand-xoshiro-0.4)
+ ("rust-serde-json" ,rust-serde-json-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-glium-0.25
(package
(name "rust-glium")