summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-10-05 00:00:15 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-10-05 13:39:06 +0300
commit9e3084a3d3f80f371bb8b70371eea4788f5880d8 (patch)
tree245eb343c527f3b1ec074bff91a0d30a2e644c1e /gnu
parent920ef7fcc4ce63f0be6ebcf9f561e76c23d02f2e (diff)
gnu: Add rust-nalgebra-0.21.
* gnu/packages/crates-io.scm (rust-nalgebra-0.21): New variable. (rust-nalgebra-0.19): Inherit from rust-nalgebra-0.21.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm47
1 files changed, 43 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 97ad0dff7f..28272097d3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14849,10 +14849,10 @@ a default trait implementation you've defined.")
(description "Run NASM during your Cargo build.")
(license (list license:expat license:asl2.0))))
-(define-public rust-nalgebra-0.19
+(define-public rust-nalgebra-0.21
(package
(name "rust-nalgebra")
- (version "0.19.0")
+ (version "0.21.1")
(source
(origin
(method url-fetch)
@@ -14861,7 +14861,7 @@ a default trait implementation you've defined.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0i87k57nav221lnr9z7ljlwxh8073qsx33bajdm146y00q805fqa"))))
+ "11ili22n4ffgcjbgvbjqmpbd67qrl2acqbpymg6z7d2h7my19dnn"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -14881,9 +14881,11 @@ a default trait implementation you've defined.")
("rust-rand-distr" ,rust-rand-distr-0.2)
("rust-serde" ,rust-serde-1)
("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-simba" ,rust-simba-0.1)
("rust-typenum" ,rust-typenum-1))
#:cargo-development-inputs
- (("rust-rand-xorshift" ,rust-rand-xorshift-0.2)
+ (("rust-rand-isaac" ,rust-rand-isaac-0.2)
+ ("rust-rand-xorshift" ,rust-rand-xorshift-0.2)
("rust-serde-json" ,rust-serde-json-1))))
(home-page "https://nalgebra.org")
(synopsis "Linear algebra library")
@@ -14892,6 +14894,43 @@ a default trait implementation you've defined.")
statically-sized or dynamically-sized matrices.")
(license license:bsd-3)))
+(define-public rust-nalgebra-0.19
+ (package
+ (inherit rust-nalgebra-0.21)
+ (name "rust-nalgebra")
+ (version "0.19.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nalgebra" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0i87k57nav221lnr9z7ljlwxh8073qsx33bajdm146y00q805fqa"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-abomonation" ,rust-abomonation-0.7)
+ ("rust-alga" ,rust-alga-0.9)
+ ("rust-approx" ,rust-approx-0.3)
+ ("rust-generic-array" ,rust-generic-array-0.13)
+ ("rust-matrixmultiply" ,rust-matrixmultiply-0.2)
+ ("rust-mint" ,rust-mint-0.5)
+ ("rust-num-complex" ,rust-num-complex-0.2)
+ ("rust-num-rational" ,rust-num-rational-0.2)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-pest" ,rust-pest-2.1)
+ ("rust-pest-derive" ,rust-pest-derive-2.1)
+ ("rust-quickcheck" ,rust-quickcheck-0.9)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-rand-distr" ,rust-rand-distr-0.2)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-typenum" ,rust-typenum-1))
+ #:cargo-development-inputs
+ (("rust-rand-xorshift" ,rust-rand-xorshift-0.2)
+ ("rust-serde-json" ,rust-serde-json-1))))))
+
(define-public rust-nalgebra-0.18
(package
(inherit rust-nalgebra-0.19)