[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
19/25: gnu: Add rust-ndarray-0.15.
From: |
guix-commits |
Subject: |
19/25: gnu: Add rust-ndarray-0.15. |
Date: |
Tue, 27 Jul 2021 10:41:48 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit 5cbfd5c0354407063e8890ef3ecb68af3a1e403c
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon Jul 26 11:33:42 2021 +0200
gnu: Add rust-ndarray-0.15.
* gnu/packages/crates-io.scm (rust-ndarray-0.15): New variable.
(rust-ndarray-0.13): Inherit from above.
---
gnu/packages/crates-io.scm | 47 ++++++++++++++++++++++++++++++++++++++--------
1 file changed, 39 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 74af882..20aa656 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27768,8 +27768,46 @@ established.")
library.")
(license license:expat)))
+(define-public rust-ndarray-0.15
+ (package
+ (name "rust-ndarray")
+ (version "0.15.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ndarray" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1jd845r1ihybq02iz85b1xcnvxr7l2qs06dabgk278v086b59s08"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-approx" ,rust-approx-0.4)
+ ("rust-cblas-sys" ,rust-cblas-sys-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-matrixmultiply" ,rust-matrixmultiply-0.3)
+ ("rust-num-complex" ,rust-num-complex-0.4)
+ ("rust-num-integer" ,rust-num-integer-0.1)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-rawpointer" ,rust-rawpointer-0.2)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-approx" ,rust-approx-0.4)
+ ("rust-defmac" ,rust-defmac-0.2)
+ ("rust-itertools" ,rust-itertools-0.10)
+ ("rust-quickcheck" ,rust-quickcheck-0.9))))
+ (home-page "https://github.com/rust-ndarray/ndarray")
+ (synopsis "N-dimensional container for general elements and for numerics")
+ (description "@code{ndarray} implements an n-dimensional container for
+general elements and for numerics.")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-ndarray-0.13
(package
+ (inherit rust-ndarray-0.15)
(name "rust-ndarray")
(version "0.13.1")
(source
@@ -27783,7 +27821,6 @@ library.")
"02dbwj3b7d0cpy29nhw31n51h3cwm4s1q6narl7fwiigxh1xn1mc"))
(patches
(search-patches "rust-ndarray-0.13-remove-blas-src.patch"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -27799,13 +27836,7 @@ library.")
#:cargo-development-inputs
(("rust-defmac" ,rust-defmac-0.2)
("rust-itertools" ,rust-itertools-0.8)
- ("rust-quickcheck" ,rust-quickcheck-0.9))))
- (home-page "https://github.com/rust-ndarray/ndarray")
- (synopsis "N-dimensional container for general elements and for numerics")
- (description "@code{ndarray} implements an n-dimensional container for
-general elements and for numerics.")
- (license (list license:asl2.0
- license:expat))))
+ ("rust-quickcheck" ,rust-quickcheck-0.9))))))
(define-public rust-ndarray-0.12
(package
- 14/25: gnu: Add rust-tui-0.15., (continued)
- 14/25: gnu: Add rust-tui-0.15., guix-commits, 2021/07/27
- 16/25: gnu: Add rust-shadow-rs-0.6., guix-commits, 2021/07/27
- 20/25: gnu: rust-minus-3: Update to 3.4.0., guix-commits, 2021/07/27
- 22/25: gnu: Add rust-calamine-0.18., guix-commits, 2021/07/27
- 21/25: gnu: rust-indexmap-1: Update to 1.7.0., guix-commits, 2021/07/27
- 23/25: gnu: Add rust-mp4-0.8., guix-commits, 2021/07/27
- 24/25: gnu: nushell: Update to 0.34.0., guix-commits, 2021/07/27
- 15/25: gnu: rust-unicode-segmentation-1: Update to 1.8.0., guix-commits, 2021/07/27
- 18/25: gnu: Add rust-matrixmultiply-0.3., guix-commits, 2021/07/27
- 17/25: gnu: Add rust-thread-tree-0.3., guix-commits, 2021/07/27
- 19/25: gnu: Add rust-ndarray-0.15.,
guix-commits <=
- 25/25: gnu: Remove rust-bat-0.17., guix-commits, 2021/07/27