[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
26/27: gnu: rust-cgmath: Add 0.18.0.
From: |
guix-commits |
Subject: |
26/27: gnu: rust-cgmath: Add 0.18.0. |
Date: |
Wed, 27 Jul 2022 10:16:25 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit daf54d67e87d0f7ce6700d30d41b8f5c58a10f05
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Jul 27 15:22:14 2022 +0200
gnu: rust-cgmath: Add 0.18.0.
* gnu/packages/crates-graphics.scm (rust-cgmath-0.18): New variable.
(rust-cgmath-0.17): Inherit from it.
---
gnu/packages/crates-graphics.scm | 40 ++++++++++++++++++++++++++++++++--------
1 file changed, 32 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 4bc1aec619..c5d9555599 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -345,8 +345,39 @@ alpha channel embedding.")
(("rust-gleam" ,rust-gleam-0.6)
("rust-libc" ,rust-libc-0.2))))))
+(define-public rust-cgmath-0.18
+ (package
+ (name "rust-cgmath")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cgmath" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "05sk7c1c1jg5ygqvc3y77kxddp177gwazfibhd864ag3800x760s"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-approx" ,rust-approx-0.4)
+ ("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))
+ #:cargo-development-inputs
+ (("rust-serde-json" ,rust-serde-json-1))))
+ (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-cgmath-0.17
(package
+ (inherit rust-cgmath-0.18)
(name "rust-cgmath")
(version "0.17.0")
(source
@@ -358,7 +389,6 @@ alpha channel embedding.")
(sha256
(base32
"1rvgila6ivr0dh1bxza450a4yfwdi2pwj3h1vnwg0jy4xk6l8f98"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t ; Crate won't build without glium.
#:cargo-inputs
@@ -370,13 +400,7 @@ alpha channel embedding.")
("rust-simd" ,rust-simd-0.2))
#:cargo-development-inputs
(;("rust-glium" ,rust-glium-0.23)
- ("rust-serde-json" ,rust-serde-json-1))))
- (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)))
+ ("rust-serde-json" ,rust-serde-json-1))))))
(define-public rust-cgmath-0.16
(package
- 05/27: gnu: rust-libloading: Add cargo-inputs to inputs., (continued)
- 05/27: gnu: rust-libloading: Add cargo-inputs to inputs., guix-commits, 2022/07/27
- 18/27: gnu: rust-android-log-sys: Add 0.2.0., guix-commits, 2022/07/27
- 15/27: gnu: rust-smithay-client-toolkit: Add 0.15.4., guix-commits, 2022/07/27
- 01/27: gnu: rust-dlib: Add rust-libloading to inputs., guix-commits, 2022/07/27
- 06/27: gnu: rust-libloading: Don't skip build., guix-commits, 2022/07/27
- 11/27: gnu: rust-wayland-server: Add 0.29.4., guix-commits, 2022/07/27
- 23/27: gnu: rust-winit: Add 0.26.1., guix-commits, 2022/07/27
- 27/27: gnu: rust-glium: Add 0.31.0., guix-commits, 2022/07/27
- 03/27: gnu: rust-wayland-sys: Add 0.29., guix-commits, 2022/07/27
- 07/27: gnu: rust-nix@0.22: Add dependent packages to inputs., guix-commits, 2022/07/27
- 26/27: gnu: rust-cgmath: Add 0.18.0.,
guix-commits <=
- 25/27: gnu: rust-glutin: Add 0.28.0., guix-commits, 2022/07/27
- 13/27: gnu: rust-wayland-egl: Add 0.29.4., guix-commits, 2022/07/27
- 20/27: gnu: rust-ndk-sys: Update to 0.2.2., guix-commits, 2022/07/27
- 19/27: gnu: rust-android-logger: Add 0.10.1., guix-commits, 2022/07/27