gnu: Add rust-cgmath-0.17.

* gnu/packages/crates-io.scm (rust-cgmath-0.17): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Valentin Ignatev 2020-01-26 01:44:47 +03:00 committed by Efraim Flashner
parent b2ebcacd2d
commit a836f50b46
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1847,6 +1847,39 @@ (define-public rust-cgl-0.2
(("rust-gleam" ,rust-gleam-0.6)
("rust-libc" ,rust-libc-0.2))))))
(define-public rust-cgmath-0.17
(package
(name "rust-cgmath")
(version "0.17.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "cgmath" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1rvgila6ivr0dh1bxza450a4yfwdi2pwj3h1vnwg0jy4xk6l8f98"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t ; Crate won't build without glium.
#:cargo-inputs
(("rust-approx" ,rust-approx-0.3)
("rust-mint" ,rust-mint-0.5)
("rust-num-traits" ,rust-num-traits-0.2)
("rust-rand" ,rust-rand-0.6)
("rust-serde" ,rust-serde-1.0)
("rust-simd" ,rust-simd-0.2))
#:cargo-development-inputs
(;("rust-glium" ,rust-glium-0.23)
("rust-serde-json" ,rust-serde-json-1.0))))
(home-page "https://github.com/brendanzab/cgmath")
(synopsis "Linear algebra and mathematics library")
(description
"This package provides a linear algebra and mathematics library
for computer graphics.")
(license license:asl2.0)))
(define-public rust-ci-info-0.3
(package
(name "rust-ci-info")