guix-commits
[Top][All Lists]
Advanced

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

57/115: gnu: rust-object-0.28: Update to 0.28.4.


From: guix-commits
Subject: 57/115: gnu: rust-object-0.28: Update to 0.28.4.
Date: Mon, 23 Sep 2024 08:50:45 -0400 (EDT)

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

commit 65b786b6483bc9ea6e0b823db463c17e7fcf1e2a
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Sep 22 15:56:10 2024 +0300

    gnu: rust-object-0.28: Update to 0.28.4.
    
    * gnu/packages/crates-io.scm (rust-object-0.28): Update to 0.28.4.
    [arguments]: Don't skip the build.  Add cargo-test-flags.  Remove custom
    phases.
    
    Change-Id: I254066ad9499ef89f904db9d32c80d68c2115f83
---
 gnu/packages/crates-io.scm | 32 ++++++++++----------------------
 1 file changed, 10 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1af15c7147..f95f3a4ac3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49357,41 +49357,29 @@ file formats.")
   (package
     (inherit rust-object-0.29)
     (name "rust-object")
-    (version "0.28.2")
+    (version "0.28.4")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "object" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "1wgv6gx69rpn4jjqs24kvafwsic1q06iaafs5mb9hy34hp7c3x89"))))
+         "0964501nlfh806mik3f9v6n05mx74qa0w7byvn0sqpwm5lprhb74"))))
     (arguments
-     `(#:skip-build? #t
+     `(#:cargo-test-flags
+       (list "--release" "--"
+             "--skip=read::coff::coff_extended_relocations")
        #:cargo-inputs
-       (("rust-compiler-builtins"
-         ,rust-compiler-builtins-0.1)
+       (("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
         ("rust-crc32fast" ,rust-crc32fast-1)
         ("rust-flate2" ,rust-flate2-1)
         ("rust-hashbrown" ,rust-hashbrown-0.11)
         ("rust-indexmap" ,rust-indexmap-1)
         ("rust-memchr" ,rust-memchr-2)
-        ("rust-rustc-std-workspace-alloc"
-         ,rust-rustc-std-workspace-alloc-1)
-        ("rust-rustc-std-workspace-core"
-         ,rust-rustc-std-workspace-core-1)
-        ("rust-wasmparser" ,rust-wasmparser-0.57))
-       #:cargo-development-inputs
-       (("rust-memmap" ,rust-memmap-0.7))
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'fix-version-requirements
-           (lambda _
-             (substitute* "Cargo.toml"
-               (("1.6.\\*")
-                ,(package-version rust-indexmap-1)))
-             #t)))))))
+        ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
+        ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
+        ("rust-wasmparser" ,rust-wasmparser-0.57))))))
 
 (define-public rust-object-0.27
   (package



reply via email to

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