guix-commits
[Top][All Lists]
Advanced

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

165/379: gnu: rust-zstd-0.9: Update to 0.9.3.


From: guix-commits
Subject: 165/379: gnu: rust-zstd-0.9: Update to 0.9.3.
Date: Mon, 10 Jul 2023 05:28:29 -0400 (EDT)

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

commit 99d58f1ba13ac0dc16ecc39f7add05038dae71a8
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed May 17 11:31:34 2023 +0300

    gnu: rust-zstd-0.9: Update to 0.9.3.
    
    * gnu/packages/crates-io.scm (rust-zstd-0.9): Update to 0.9.3.
    [source]: Add snippet to allow using newer versions of dependencies.
    [arguments]: Don't skip build. Skip tests.
    [cargo-development-inputs]: Add rust-clap-3, rust-humansize-1,
    rust-partial-io-0.5, rust-walkdir-2.
---
 gnu/packages/crates-io.scm | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9234924a85..f1a9aa3040 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -76215,7 +76215,7 @@ implementation that works everywhere, even WASM!")
   (package
     (inherit rust-zstd-0.11)
     (name "rust-zstd")
-    (version "0.9.0+zstd.1.5.0")
+    (version "0.9.3+zstd.1.5.2")
     (source
      (origin
        (method url-fetch)
@@ -76224,11 +76224,21 @@ implementation that works everywhere, even WASM!")
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "1k9caa048d8x9asksjaf62xkpv0m1wsmw94h29k3csybq9frlx07"))))
+         "15dsisk3g9ncbxzb6miwav35p2v98az6clh5qdab5jxn05l9qzrp"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin (substitute* "Cargo.toml"
+                  (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
+                   (string-append "\"^" version)))))))
     (arguments
-     `(#:skip-build? #t
+     `(#:tests? #f      ; Not all files included.
        #:cargo-inputs
-       (("rust-zstd-safe" ,rust-zstd-safe-4))))))
+       (("rust-zstd-safe" ,rust-zstd-safe-4))
+       #:cargo-development-inputs
+       (("rust-clap" ,rust-clap-3)
+        ("rust-humansize" ,rust-humansize-1)
+        ("rust-partial-io" ,rust-partial-io-0.5)
+        ("rust-walkdir" ,rust-walkdir-2))))))
 
 (define-public rust-zstd-0.8
   (package



reply via email to

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