aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEvgenii Lepikhin <e.lepikhin@corp.mail.ru>2022-04-02 00:54:32 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-05-30 11:13:50 +0300
commitacada2580fa249cd3aad074c310ef2e6e1a9022f (patch)
treebe6877f0398e756e07d22f57fae5bbef426c30c5 /gnu/packages/crates-io.scm
parent4259a6516a7c8617e59e00b1c4959c4f8d136794 (diff)
downloadguix-acada2580fa249cd3aad074c310ef2e6e1a9022f.tar
guix-acada2580fa249cd3aad074c310ef2e6e1a9022f.tar.gz
gnu: Add rust-nom-locate-4.
* gnu/packages/crates-io.scm (rust-nom-locate-4): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7301084382..1ffce53949 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25,6 +25,7 @@
;;; Copyright © 2021 Nicolas Graves <ngraves@ngraves.fr>
;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2022 Evgenii Lepikhin <e.lepikhin@corp.mail.ru>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -37548,6 +37549,30 @@ combinators library.")
(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
+ `(#:cargo-inputs
+ (("rust-bytecount" ,rust-bytecount-0.6)
+ ("rust-memchr" ,rust-memchr-2)
+ ("rust-nom" ,rust-nom-7)
+ ("rust-stable-deref-trait" ,rust-stable-deref-trait-1))))
+ (home-page "https://github.com/fflorent/nom_locate")
+ (synopsis "Special input type for nom to locate tokens")
+ (description "This crate provides the @code{LocatedSpan} struct that
+encapsulates the data.")
+ (license (list license:expat))))
+
(define-public rust-noop-proc-macro-0.3
(package
(name "rust-noop-proc-macro")