summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-05-16 14:35:40 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-08-14 19:37:40 +0300
commit5ef386e4dc2eecb0bd2d01515bfa35b376571042 (patch)
tree2ace9a086d44203a844cbaee44b2e472d8892c7d
parent4d978ba57625ed10c1d4f73d562feea1984137a0 (diff)
downloadguix-5ef386e4dc2eecb0bd2d01515bfa35b376571042.tar.gz
gnu: rust-packed-simd-0.3: Update to 0.3.8.
* gnu/packages/crates-io.scm (rust-packed-simd-0.3): Update to 0.3.8.
[source]: Add snippet to allow newer versions of dependencies.
[cargo-inputs]: Add rust-libm-0.2. Replace rust-cfg-if-0.1 with 1.
[cargo-development-inputs]: Replace rust-arrayvec-0.4 with 0.5,
rust-wasm-bindgen-test-0.2 with 0.3.
-rw-r--r--gnu/packages/crates-io.scm16
1 files changed, 11 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 10408475ea..15cf604cc0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -42287,7 +42287,7 @@ signing/verification, and general purpose curve arithmetic support.")
 (define-public rust-packed-simd-0.3
   (package
     (name "rust-packed-simd")
-    (version "0.3.3")
+    (version "0.3.8")
     (source
      (origin
        (method url-fetch)
@@ -42296,19 +42296,25 @@ signing/verification, and general purpose curve arithmetic support.")
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "0822wqf6kzw4ig9ykndg348w2bxkhs3x64brzsvdxh2a1pyajpm8"))))
+         "17xih19yr6izg1d065d2ax29axs7bmywnxa3qps0l6d3bd4nbybc"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin (substitute* "Cargo.toml"
+                  (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
+                   (string-append "\"^" version)))))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
-       (("rust-cfg-if" ,rust-cfg-if-0.1)
+       (("rust-cfg-if" ,rust-cfg-if-1)
         ("rust-core-arch" ,rust-core-arch-0.1)
+        ("rust-libm" ,rust-libm-0.1)
         ("rust-sleef-sys" ,rust-sleef-sys-0.1))
        #:cargo-development-inputs
-       (("rust-arrayvec" ,rust-arrayvec-0.4)
+       (("rust-arrayvec" ,rust-arrayvec-0.5)
         ("rust-paste" ,rust-paste-0.1)
         ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
-        ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.2))))
+        ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
     (home-page "https://github.com/rust-lang/packed_simd")
     (synopsis "Portable Packed SIMD vectors")
     (description "Portable Packed SIMD vectors.")