diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2021-11-11 09:45:28 +0000 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2021-11-11 15:39:17 +0000 |
commit | 43260f681bf1dfdc1f424f009a00097ebd8e1449 (patch) | |
tree | 7ec745d6a38a64b4f4b074814ea989ebb53e8933 /gnu/packages/crates-io.scm | |
parent | 15abac14acb82023a01b737ba514f2e2bf16a2d5 (diff) | |
download | guix-43260f681bf1dfdc1f424f009a00097ebd8e1449.tar guix-43260f681bf1dfdc1f424f009a00097ebd8e1449.tar.gz |
gnu: Add rust-glam-0.16.
* gnu/packages/crates-io.scm (rust-glam-0.16): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a078d71243..06fe722bf8 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.16 + (package + (name "rust-glam") + (version "0.16.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "glam" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05izbgx93hnjk200144h9yxhy51cbygp2bbaqdj8czngki3w09j1")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; TODO: we need a more recent criterion + #:cargo-inputs + (("rust-approx" ,rust-approx-0.4) + ("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.15 (package (name "rust-glam") |