guix-commits
[Top][All Lists]
Advanced

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

55/470: gnu: rust-nom-7: Update to 7.1.2.


From: guix-commits
Subject: 55/470: gnu: rust-nom-7: Update to 7.1.2.
Date: Thu, 16 Mar 2023 02:59:55 -0400 (EDT)

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

commit de46cf19d35dc2b8bf5b2d1c575d5e6f47237a85
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Jan 12 18:25:38 2023 +0200

    gnu: rust-nom-7: Update to 7.1.2.
    
    * gnu/packages/crates-io.scm (rust-nom-7): Update to 7.1.2.
    [cargo-inputs]: Remove rust-version-check-0.9.
    [cargo-development-inputs]: Remove rust-criterion-0.3,
    rust-jemallocator-0.3.
    [arguments]: Remove phase setting location of libjemalloc_pic.a.
    [native-inputs]: Remove jemalloc.
    (rust-n0m-6)[native-inputs]: Explicitly add jemalloc.
---
 gnu/packages/crates-io.scm | 26 +++++++-------------------
 1 file changed, 7 insertions(+), 19 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e7207e91e3..f97a70ec0d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36235,7 +36235,7 @@ implementation (which is unstable / requires nightly).")
 (define-public rust-nom-7
   (package
     (name "rust-nom")
-    (version "7.1.1")
+    (version "7.1.2")
     (source
      (origin
        (method url-fetch)
@@ -36244,29 +36244,16 @@ implementation (which is unstable / requires 
nightly).")
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "0djc3lq5xihnwhrvkc4bj0fd58sjf632yh6hfiw545x355d3x458"))))
+         "132lkkqd8hcbmpb90hncwknr7rn6knfq7774d679k74iqilpfl75"))))
     (build-system cargo-build-system)
     (arguments
      `(#:tests? #f  ; Tests require example directory, not included in tarball.
        #:cargo-inputs
        (("rust-memchr" ,rust-memchr-2)
-        ("rust-minimal-lexical" ,rust-minimal-lexical-0.2)
-        ("rust-version-check" ,rust-version-check-0.9))
+        ("rust-minimal-lexical" ,rust-minimal-lexical-0.2))
        #:cargo-development-inputs
-       (("rust-criterion" ,rust-criterion-0.3)
-        ("rust-doc-comment" ,rust-doc-comment-0.3)
-        ("rust-jemallocator" ,rust-jemallocator-0.3)
-        ("rust-proptest" ,rust-proptest-1))
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'configure 'override-jemalloc
-           (lambda* (#:key inputs #:allow-other-keys)
-             (let ((jemalloc (assoc-ref inputs "jemalloc")))
-               (setenv "JEMALLOC_OVERRIDE"
-                       (string-append jemalloc "/lib/libjemalloc_pic.a")))
-             #t)))))
-    (native-inputs
-     (list jemalloc))
+       (("rust-doc-comment" ,rust-doc-comment-0.3)
+        ("rust-proptest" ,rust-proptest-1))))
     (home-page "https://github.com/Geal/nom";)
     (synopsis
      "Byte-oriented, zero-copy, parser combinators library")
@@ -36309,7 +36296,8 @@ combinators library.")
              (let ((jemalloc (assoc-ref inputs "jemalloc")))
                (setenv "JEMALLOC_OVERRIDE"
                        (string-append jemalloc "/lib/libjemalloc_pic.a")))
-             #t)))))))
+             #t)))))
+    (native-inputs (list jemalloc))))
 
 (define-public rust-nom-5
   (package



reply via email to

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