guix-commits
[Top][All Lists]
Advanced

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

88/470: gnu: rust-packed-simd-2-0.3: Update to 0.3.8.


From: guix-commits
Subject: 88/470: gnu: rust-packed-simd-2-0.3: Update to 0.3.8.
Date: Thu, 16 Mar 2023 03:00:23 -0400 (EDT)

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

commit 992d7c4143467549acd766c7c4b599d2f0a58a2a
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Jan 15 11:09:41 2023 +0200

    gnu: rust-packed-simd-2-0.3: Update to 0.3.8.
    
    * gnu/packages/crates-io.scm (rust-packed-simd-2-0.3): Update to 0.3.8.
    [source]: Generalize snippet allowing newer versions of dependencies.
    [arguments]: Don't skip build. Remove trailing #t from phases.
    [cargo-inputs]: Replace rust-cfg-if-0.1 with 1.
---
 gnu/packages/crates-io.scm | 17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 05d71ebd7d..9cd3de04db 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38866,7 +38866,7 @@ normally prevent moving a type that has been borrowed 
from.")
 (define-public rust-packed-simd-2-0.3
   (package
     (name "rust-packed-simd-2")
-    (version "0.3.6")
+    (version "0.3.8")
     (source
      (origin
        (method url-fetch)
@@ -38874,21 +38874,17 @@ normally prevent moving a type that has been borrowed 
from.")
        (file-name
         (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1i8hmhsyzqsas2rhxg088mcwvzljrqhvf8lfz8b1dj6g2rkw1h3i"))
+        (base32 "10p2bm0p57shg3arlpfwm6z0bbnlkyr4g0dlkmpwvz6qaba4r4d1"))
        (modules '((guix build utils)))
        (snippet
         '(begin
            ;; Unpin the dependencies.
            (substitute* "Cargo.toml"
-             (("=0.2.73") "^0.2.73")
-             (("=0.3.23") "^0.3.23"))
-           #t))))
+             (("version = \"=") "version = \"^"))))))
     (build-system cargo-build-system)
     (arguments
-     `(#:tests? #f  ; error[E0432]: unresolved import `packed_simd`
-       #:skip-build? #t
-       #:cargo-inputs
-       (("rust-cfg-if" ,rust-cfg-if-0.1)
+     `(#:cargo-inputs
+       (("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))
@@ -38901,8 +38897,7 @@ normally prevent moving a type that has been borrowed 
from.")
        (modify-phases %standard-phases
          (add-after 'unpack 'enable-unstable-features
            (lambda _
-             (setenv "RUSTC_BOOTSTRAP" "1")
-             #t)))))
+             (setenv "RUSTC_BOOTSTRAP" "1"))))))
     (home-page "https://github.com/rust-lang-nursery/packed_simd";)
     (synopsis "Portable Packed SIMD vectors")
     (description "Portable Packed SIMD vectors.")



reply via email to

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