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.
This commit is contained in:
Efraim Flashner 2020-10-05 00:00:15 +03:00
parent 920ef7fcc4
commit 9e3084a3d3
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -14849,8 +14849,54 @@ (define-public rust-nasm-rs-0.1
(description "Run NASM during your Cargo build.")
(license (list license:expat license:asl2.0))))
(define-public rust-nalgebra-0.21
(package
(name "rust-nalgebra")
(version "0.21.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "nalgebra" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"11ili22n4ffgcjbgvbjqmpbd67qrl2acqbpymg6z7d2h7my19dnn"))))
(build-system cargo-build-system)
(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-simba" ,rust-simba-0.1)
("rust-typenum" ,rust-typenum-1))
#:cargo-development-inputs
(("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")
(description
"This package provides a linear algebra library with transformations and
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
@ -14862,7 +14908,6 @@ (define-public rust-nalgebra-0.19
(sha256
(base32
"0i87k57nav221lnr9z7ljlwxh8073qsx33bajdm146y00q805fqa"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-abomonation" ,rust-abomonation-0.7)
@ -14884,13 +14929,7 @@ (define-public rust-nalgebra-0.19
("rust-typenum" ,rust-typenum-1))
#:cargo-development-inputs
(("rust-rand-xorshift" ,rust-rand-xorshift-0.2)
("rust-serde-json" ,rust-serde-json-1))))
(home-page "https://nalgebra.org")
(synopsis "Linear algebra library")
(description
"This package provides a linear algebra library with transformations and
statically-sized or dynamically-sized matrices.")
(license license:bsd-3)))
("rust-serde-json" ,rust-serde-json-1))))))
(define-public rust-nalgebra-0.18
(package