Subject: [PATCH 1/7] gnu: rust-nom-locate-4: Add 4.0.0
From: Evgenii Lepikhin <[email-masked]>
To: [email-masked]
Date: Thu, 31 Mar 2022 00:21:24 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

This patch set adds multiple Rust crates. Some of them are just new versions and others are new in Guvs.

* gnu/packages/crates-io.scm (rust-nom-locate-4): Add 4.0.0
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 90c95b6368..82fd24b310 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37465,6 +37465,31 @@ (define-public rust-nom-derive-0.7
     (description "This package derives custom nom parsers from structs.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-nom-locate-4
+  (package
+    (name "rust-nom-locate")
+    (version "4.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "nom_locate" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0186n5qbpiyhpas3nk8y4ynnbdghl4nx958bkq4a6a9hr8v48y9p"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-bytecount" ,rust-bytecount-0.6)
+        ("rust-nom" ,rust-nom-7)
+        ("rust-memchr" ,rust-memchr-2)
+        ("rust-stable-deref-trait" ,rust-stable-deref-trait-1))))
+    (home-page "https://github.com/fflorent/nom_locate")
+    (synopsis "A special input type for nom to locate tokens")
+    (description
+     "The crate provide the LocatedSpan struct that encapsulates the data.")
+    (license (list license:expat))))
+
 (define-public rust-noop-proc-macro-0.3
   (package
     (name "rust-noop-proc-macro")
-- 
2.34.0