mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add rust-glam-0.15.
* gnu/packages/crates-io.scm (rust-glam-0.15): New variable.
This commit is contained in:
parent
d44ae04cfd
commit
15abac14ac
1 changed files with 28 additions and 0 deletions
|
@ -20967,6 +20967,34 @@ libcurl, which is intended to be used with the @code{git2} crate.")
|
||||||
(description "Gjson is a JSON parser for Rust.")
|
(description "Gjson is a JSON parser for Rust.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public rust-glam-0.15
|
||||||
|
(package
|
||||||
|
(name "rust-glam")
|
||||||
|
(version "0.15.2")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "glam" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0jx587lxz9v9m0ph4dlshfgy0abax1zhlbjj5nvkchz4ir7mbfrs"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build? #t ; TODO: we need a more recent criterion
|
||||||
|
#: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.8)
|
||||||
|
("rust-serde" ,rust-serde-1)
|
||||||
|
("rust-spirv-std" ,rust-spirv-std-0.4))))
|
||||||
|
(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.14
|
(define-public rust-glam-0.14
|
||||||
(package
|
(package
|
||||||
(name "rust-glam")
|
(name "rust-glam")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue