aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorSuhail Singh <suhailsingh247@gmail.com>2024-08-04 12:42:19 -0400
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2024-08-30 22:54:29 +0200
commit3b5a69a41d9f599e4d903a636e5745bd66575069 (patch)
tree17ab10e66ea1239c9a6750b09af6ab268875d77b /gnu/packages/crates-io.scm
parentf4240f71e05487df80b960d41d8b51c2d248fcf3 (diff)
downloadguix-3b5a69a41d9f599e4d903a636e5745bd66575069.tar.gz
guix-3b5a69a41d9f599e4d903a636e5745bd66575069.zip
gnu: Add rust-nom-locate-4.
* gnu/packages/crates-io.scm (rust-nom-locate-4): New variable. Change-Id: I5237f0b6e3463bbd5cd2048060334f88cf75d27a Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 53d6920c3a..d80696b8e0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46781,6 +46781,30 @@ combinators library (fork for proposals for v8)")
(description "This package provides custom derive nom parsers from structs.")
(license (list license:expat license:asl2.0))))
+(define-public rust-nom-locate-4
+ (package
+ (name "rust-nom-locate")
+ (version "4.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nom_locate" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1wx87c2pm84h63rb4rsjrqzgx574x1zy93av1jk3swdhag086g0y"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bytecount" ,rust-bytecount-0.6)
+ ("rust-memchr" ,rust-memchr-1)
+ ("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 @code{nom} to locate tokens")
+ (description
+ "This package provides a special input type for @code{nom} to locate
+tokens.")
+ (license license:expat)))
+
(define-public rust-nonempty-0.7
(package
(name "rust-nonempty")