guix-commits
[Top][All Lists]
Advanced

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

13/65: gnu: rust-nom-6: Update to 6.2.1.


From: guix-commits
Subject: 13/65: gnu: rust-nom-6: Update to 6.2.1.
Date: Sun, 15 Jan 2023 04:32:44 -0500 (EST)

efraim pushed a commit to branch staging
in repository guix.

commit bffdd9a002a5fa89ca751bc43cdafc5addd17cf3
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Jan 12 18:28:44 2023 +0200

    gnu: rust-nom-6: Update to 6.2.1.
    
    * gnu/packages/crates-io.scm (rust-nom-6): Update to 6.2.1.
    [snippet]: Add snippet to not limit rust-memchr-2 to versions under
    2.4.0.
    [cargo-inputs]: Add rust-funty-1.
---
 gnu/packages/crates-io.scm | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e6099f70c5..f53d1e8337 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36118,7 +36118,7 @@ combinators library.")
   (package
     (inherit rust-nom-7)
     (name "rust-nom")
-    (version "6.0.1")
+    (version "6.2.1")
     (source
      (origin
        (method url-fetch)
@@ -36127,11 +36127,18 @@ combinators library.")
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "1w0ppq112myzwk23c8m0wmq0nv73xvn0g9gl2kfm83aadgylq0w8"))))
+         "19h3l5hajpcszwl6nzcmgs4mpng73ifn6akslq7n4g1s12wm2p4w"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin
+           ;; Allow any version of memchr 2.
+           (substitute* "Cargo.toml"
+             ((">=2.0, <2.4") "2.0"))))))
     (arguments
      `(#:tests? #f  ; Tests require example directory, not included in tarball.
        #:cargo-inputs
        (("rust-bitvec" ,rust-bitvec-0.19)
+        ("rust-funty" ,rust-funty-1)
         ("rust-lazy-static" ,rust-lazy-static-1)
         ("rust-lexical-core" ,rust-lexical-core-0.7)
         ("rust-memchr" ,rust-memchr-2)



reply via email to

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