guix-commits
[Top][All Lists]
Advanced

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

59/194: gnu: Add rust-simba-0.8.


From: guix-commits
Subject: 59/194: gnu: Add rust-simba-0.8.
Date: Tue, 3 Oct 2023 14:57:25 -0400 (EDT)

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

commit ab3a2dbc3d2c96ac6553cfb6452e692dd484d076
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 1 16:41:59 2023 +0300

    gnu: Add rust-simba-0.8.
    
    * gnu/packages/crates-io.scm (rust-simba-0.8): New variable.
    (rust-simba-0.6): Inherit from rust-simba-0.8.
---
 gnu/packages/crates-io.scm | 46 ++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 38 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 461bbd7ed6..9bdb9bff1e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62550,8 +62550,45 @@ for additional details.")
         ("rust-syn" ,rust-syn-1)
         ("rust-synstructure" ,rust-synstructure-0.12))))))
 
+(define-public rust-simba-0.8
+  (package
+    (name "rust-simba")
+    (version "0.8.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "simba" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1bnf7ainywmaz2z67ss1q0bjwccf80c50c50r6hlpay69z4hf586"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-approx" ,rust-approx-0.5)
+        ("rust-cordic" ,rust-cordic-0.1)
+        ("rust-cuda-std" ,rust-cuda-std-0.2)
+        ("rust-cust-core" ,rust-cust-core-0.1)
+        ("rust-decimal" ,rust-decimal-2)
+        ("rust-fixed" ,rust-fixed-1)
+        ("rust-libm" ,rust-libm-0.2)
+        ("rust-num-complex" ,rust-num-complex-0.4)
+        ("rust-num-traits" ,rust-num-traits-0.2)
+        ("rust-packed-simd-2" ,rust-packed-simd-2-0.3)
+        ("rust-paste" ,rust-paste-1)
+        ("rust-rand" ,rust-rand-0.8)
+        ("rust-rkyv" ,rust-rkyv-0.7)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-wide" ,rust-wide-0.7))))
+    (home-page "https://github.com/dimforge/simba";)
+    (synopsis "SIMD algebra for Rust")
+    (description "This package provides a set of mathematical traits to
+facilitate the use of SIMD-based @dfn{Array of Struct of Array} (AoSoA) storage
+pattern in Rust.")
+    (license license:asl2.0)))
+
 (define-public rust-simba-0.6
   (package
+    (inherit rust-simba-0.8)
     (name "rust-simba")
     (version "0.6.0")
     (source
@@ -62562,7 +62599,6 @@ for additional details.")
         (sha256
          (base32
           "0px0nncs3ki86pjcldz40mhvraywh7y9jypfcqqdcihs287q9dzh"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-approx" ,rust-approx-0.5)
@@ -62576,13 +62612,7 @@ for additional details.")
         ("rust-paste" ,rust-paste-1)
         ("rust-rand" ,rust-rand-0.8)
         ("rust-serde" ,rust-serde-1)
-        ("rust-wide" ,rust-wide-0.7))))
-    (home-page "https://github.com/dimforge/simba";)
-    (synopsis "SIMD algebra for Rust")
-    (description "This package provides a set of mathematical traits to
-facilitate the use of SIMD-based @dfn{Array of Struct of Array} (AoSoA) storage
-pattern in Rust.")
-    (license license:bsd-3)))
+        ("rust-wide" ,rust-wide-0.7))))))
 
 (define-public rust-simba-0.5
   (package



reply via email to

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