summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-04 12:07:40 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:21 +0200
commit113e9f160388179cd7ec736e166c7e0dcaf18664 (patch)
treee45ab42f8f9902ad0dc22bfffb10b5c201a03b24
parentf3533ee8573df521259024a31ecc7726110ac472 (diff)
downloadguix-113e9f160388179cd7ec736e166c7e0dcaf18664.tar.gz
gnu: Add rust-nalgebra-0.30.
* gnu/packages/crates-io.scm (rust-nalgebra-0.30): New variable.

Change-Id: Ia979be871d2e90eef70738e9676bea7f781e032e
-rw-r--r--gnu/packages/crates-io.scm53
1 files changed, 53 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 116de49cb0..2f3ce2a6c2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41725,6 +41725,59 @@ quick compile time, and minimal dependencies.")
 transformations and statically-sized or dynamically-sized matrices.")
     (license license:bsd-3)))
 
+(define-public rust-nalgebra-0.30
+  (package
+    (inherit rust-nalgebra-0.32)
+    (name "rust-nalgebra")
+    (version "0.30.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "nalgebra" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1glqd63v8n2a7i66yc4czrmmf21hxqc2q8906f4fsjv913gd1cjg"))))
+    (arguments
+     `(#:cargo-test-flags
+       ;; Feature list as requested by the test suite.
+       '("--release" "--features" "debug,compare,rand,macros" "--lib")
+       #:cargo-inputs (("rust-abomonation" ,rust-abomonation-0.7)
+                       ("rust-alga" ,rust-alga-0.9)
+                       ("rust-approx" ,rust-approx-0.5)
+                       ("rust-bytemuck" ,rust-bytemuck-1)
+                       ("rust-cust" ,rust-cust-0.2)
+                       ("rust-glam" ,rust-glam-0.20)
+                       ("rust-glam" ,rust-glam-0.19)
+                       ("rust-glam" ,rust-glam-0.18)
+                       ("rust-glam" ,rust-glam-0.17)
+                       ("rust-glam" ,rust-glam-0.16)
+                       ("rust-glam" ,rust-glam-0.15)
+                       ("rust-glam" ,rust-glam-0.14)
+                       ("rust-glam" ,rust-glam-0.13)
+                       ("rust-matrixcompare-core" ,rust-matrixcompare-core-0.1)
+                       ("rust-matrixmultiply" ,rust-matrixmultiply-0.3)
+                       ("rust-mint" ,rust-mint-0.5)
+                       ("rust-nalgebra-macros" ,rust-nalgebra-macros-0.1)
+                       ("rust-num-complex" ,rust-num-complex-0.4)
+                       ("rust-num-rational" ,rust-num-rational-0.4)
+                       ("rust-num-traits" ,rust-num-traits-0.2)
+                       ("rust-pest" ,rust-pest-2)
+                       ("rust-pest-derive" ,rust-pest-derive-2)
+                       ("rust-proptest" ,rust-proptest-1)
+                       ("rust-quickcheck" ,rust-quickcheck-1)
+                       ("rust-rand" ,rust-rand-0.8)
+                       ("rust-rand-distr" ,rust-rand-distr-0.4)
+                       ("rust-rkyv" ,rust-rkyv-0.6)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-simba" ,rust-simba-0.7)
+                       ("rust-typenum" ,rust-typenum-1))
+       #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)
+                                   ("rust-itertools" ,rust-itertools-0.10)
+                                   ("rust-matrixcompare" ,rust-matrixcompare-0.3)
+                                   ("rust-rand-isaac" ,rust-rand-isaac-0.3)
+                                   ("rust-rand-xorshift" ,rust-rand-xorshift-0.3)
+                                   ("rust-serde-json" ,rust-serde-json-1))))))
+
 (define-public rust-nalgebra-0.29
   (package
     (inherit rust-nalgebra-0.32)