guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 59/276: gnu: Add rust-simba-0.8.
Date: Wed, 18 Oct 2023 04:49:16 -0400 (EDT)

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

commit db34ebed32d8e21e82e80ee611264f5b2ae23943
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 60cd050c16..5bff7d319b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62612,8 +62612,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
@@ -62624,7 +62661,6 @@ for additional details.")
         (sha256
          (base32
           "0px0nncs3ki86pjcldz40mhvraywh7y9jypfcqqdcihs287q9dzh"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-approx" ,rust-approx-0.5)
@@ -62638,13 +62674,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]