guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

42/276: gnu: Add rust-nalgebra-0.32.


From: guix-commits
Subject: 42/276: gnu: Add rust-nalgebra-0.32.
Date: Wed, 18 Oct 2023 04:49:06 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 1347a92dcf75ce653e1d8e10badac4a265a3978e
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 1 16:31:38 2023 +0300

    gnu: Add rust-nalgebra-0.32.
    
    * gnu/packages/crates-io.scm (rust-nalgebra-0.32): New variable.
    (rust-nalgebra-0.29): Inherit from rust-nalgebra-0.32.
---
 gnu/packages/crates-io.scm | 75 +++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 67 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 77908fd847..8a76250f07 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40159,8 +40159,74 @@ quick compile time, and minimal dependencies.")
     (description "Run NASM during your Cargo build.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-nalgebra-0.32
+  (package
+    (name "rust-nalgebra")
+    (version "0.32.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "nalgebra" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1ahwmg15v2qschc1y64hg5r2hdp7m0izv11zx0lkyhn2ijqxjzih"))))
+    (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")
+       #: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.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.8)
+        ("rust-typenum" ,rust-typenum-1))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.4)
+        ("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))))
+    (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)))
+
 (define-public rust-nalgebra-0.29
   (package
+    (inherit rust-nalgebra-0.32)
     (name "rust-nalgebra")
     (version "0.29.0")
     (source
@@ -40171,7 +40237,6 @@ quick compile time, and minimal dependencies.")
         (sha256
           (base32 "1zri11vkrbk3ayvy8xqcdvvyjvfcbl5a18x8z82racnn11zfn1nm"))
        (modules '((guix build utils)))))
-    (build-system cargo-build-system)
     (arguments
       `(#:tests? #f       ;TODO: how to enable required features?
         #:cargo-inputs
@@ -40207,13 +40272,7 @@ quick compile time, and minimal dependencies.")
          ("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))))
-    (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)))
+         ("rust-serde-json" ,rust-serde-json-1))))))
 
 (define-public rust-nalgebra-0.27
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]