summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-07-25 23:52:37 +0200
committerMarius Bakke <marius@gnu.org>2022-07-27 12:31:25 +0200
commit29787b45f01be9580c705112ff91e861c6c4fc3c (patch)
tree6d312c0a331d205a25b2cb7476c28bc461e2eee5
parent0a7560ec6f3fd2a0bc3adf97b9e3be3616d2ef20 (diff)
downloadguix-29787b45f01be9580c705112ff91e861c6c4fc3c.tar.gz
gnu: rust-wide: Add 0.7.4.
* gnu/packages/crates-io.scm (rust-wide-0.7): New variable.
(rust-wide-0.6, rust-wide-0.4): Inherit from it.
-rw-r--r--gnu/packages/crates-io.scm36
1 files changed, 28 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e7fb388ef0..ad9052c1a1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -71042,10 +71042,10 @@ It locates installed executable in cross platforms.")
 environment.")
     (license (list license:expat license:boost1.0))))
 
-(define-public rust-wide-0.4
+(define-public rust-wide-0.7
   (package
     (name "rust-wide")
-    (version "0.4.6")
+    (version "0.7.4")
     (source
       (origin
         (method url-fetch)
@@ -71054,22 +71054,23 @@ environment.")
          (string-append name "-" version ".tar.gz"))
         (sha256
          (base32
-          "0ad75vnzygj8qfcl1l9n4wi93xmqzvhqlpqn4hfayrwbn6wa69aq"))))
+          "0psw31mh21cn4w7i0klsz7law8p8iddsqir8x35cf6n3vb8s5axk"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-       (("rust-bytemuck" ,rust-bytemuck-1))))
+       (("rust-bytemuck" ,rust-bytemuck-1)
+        ("rust-safe-arch" ,rust-safe-arch-0.6))))
     (home-page "https://github.com/Lokathor/wide")
     (synopsis "Rust for wide blocks")
     (description "This crate has data types for blocks of primitives packed
 together and used as a single unit.  This works very well with SIMD/vector
 hardware of various targets.  Both in terms of explicit SIMD usage and also in
 terms of allowing LLVM's auto-vectorizer to do its job.")
-    (license license:zlib)))
+    (license (list license:zlib license:asl2.0 license:expat))))
 
 (define-public rust-wide-0.6
   (package
-    (inherit rust-wide-0.4)
+    (inherit rust-wide-0.7)
     (name "rust-wide")
     (version "0.6.5")
     (source
@@ -71083,8 +71084,27 @@ terms of allowing LLVM's auto-vectorizer to do its job.")
     (arguments
      `(#:cargo-inputs
        (("rust-bytemuck" ,rust-bytemuck-1)
-        ("rust-safe-arch" ,rust-safe-arch-0.5))))
-    (license (list license:zlib license:asl2.0 license:expat))))
+        ("rust-safe-arch" ,rust-safe-arch-0.5))))))
+
+(define-public rust-wide-0.4
+  (package
+    (inherit rust-wide-0.6)
+    (name "rust-wide")
+    (version "0.4.6")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "wide" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0ad75vnzygj8qfcl1l9n4wi93xmqzvhqlpqn4hfayrwbn6wa69aq"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bytemuck" ,rust-bytemuck-1))))
+    (license (list license:zlib))))
 
 (define-public rust-widestring-0.4
   (package