Subject: [bug#75677] [PATCH rust-team v2 74/81] gnu: rust-nalgebra-0.33: New variable.

From: Aaron Covrig <[email-masked]>
Date: Fri, 7 Mar 2025 22:34:20 -0500

* gnu/packages/crates-io.scm (rust-nalgebra-0.33): New variable.
---
 gnu/packages/crates-io.scm | 83 ++++++++++++++++++++++++++++++++++----
 1 file changed, 76 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a81fb0bf2e..844c0d301b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45226,8 +45226,83 @@ (define-public rust-mustache-0.9
     (description "This package provides a Rust implementation of Mustache.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-nalgebra-0.33
+  (package
+    (name "rust-nalgebra")
+    (version "0.33.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "nalgebra" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0fvayv2fa6x4mfm4cq3m2cfcc2jwkiq4sm73209zszkh9gvcvbi6"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(;#:features '("debug" "compare" "rand" "macros")
+       #:cargo-test-flags '(
+        ;; Feature list as requested by the test suite.
+        "--release" "--features" "debug,compare,rand,macros"
+        ;; Skip broken tests
+        "--"
+        "--skip=macros::stack::stack_trybuild_tests")
+       #:cargo-inputs
+       (("rust-alga" ,rust-alga-0.9)
+        ("rust-approx" ,rust-approx-0.5)
+        ("rust-bytemuck" ,rust-bytemuck-1)
+        ("rust-cust-core" ,rust-cust-core-0.1)
+        ("rust-glam" ,rust-glam-0.29)
+        ("rust-glam" ,rust-glam-0.28)
+        ("rust-glam" ,rust-glam-0.27)
+        ("rust-glam" ,rust-glam-0.25)
+        ("rust-glam" ,rust-glam-0.24)
+        ("rust-glam" ,rust-glam-0.23)
+        ("rust-glam" ,rust-glam-0.22)
+        ("rust-glam" ,rust-glam-0.21)
+        ("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-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.2)
+        ("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-rayon" ,rust-rayon-1)
+        ("rust-rkyv" ,rust-rkyv-0.7)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-simba" ,rust-simba-0.9)
+        ("rust-typenum" ,rust-typenum-1))
+       #:cargo-development-inputs
+       (("rust-cool-asserts" ,rust-cool-asserts-2)
+        ("rust-criterion" ,rust-criterion-0.4)
+        ("rust-itertools" ,rust-itertools-0.13)
+        ("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)
+        ("rust-trybuild" ,rust-trybuild-1))))
+    (home-page "https://nalgebra.org")
+    (synopsis "Linear algebra library")
+    (description
+     "This package provides a general-purpose linear algebra library with
+transformations and statically-sized or dynamically-sized matrices.")
+    (license license:asl2.0))) ;; Relicensed in v0.33
+
 (define-public rust-nalgebra-0.32
   (package
+    (inherit rust-nalgebra-0.33)
     (name "rust-nalgebra")
     (version "0.32.6")
     (source
@@ -45237,7 +45312,6 @@ (define-public rust-nalgebra-0.32
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1r033ciacblmkif5njlhprfp0k59spjv54cqsyggb1is0bg1fp3v"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:tests? #f ;; See: https://github.com/dimforge/nalgebra/pull/1372
        #:cargo-inputs
@@ -45283,12 +45357,7 @@ (define-public rust-nalgebra-0.32
         ("rust-rand-isaac" ,rust-rand-isaac-0.3)
         ("rust-rand-xorshift" ,rust-rand-xorshift-0.3)
         ("rust-serde-json" ,rust-serde-json-1))))
-    (home-page "https://nalgebra.org")
-    (synopsis "Linear algebra library")
-    (description
-     "This package provides a general-purpose linear algebra library with
-transformations and statically-sized or dynamically-sized matrices.")
-    (license license:bsd-3)))
+    (license license:bsd-3))) ;; Relicensed in v0.33
 
 (define-public rust-nalgebra-0.30
   (package
-- 
2.48.1