summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-15 09:18:30 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:44 +0200
commitcf47457707795272587bdcee5e2f32a3642543c6 (patch)
treed4cdd6bfec890e8fb2375aa9d2188d855b04a274 /gnu
parentf01b62db996c27281cc3c7bd7d35107d6927b2ce (diff)
gnu: Add rust-nom-4.2.
* gnu/packages/crates-io.scm (rust-nom-4.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e4e3f9f359..18c430c76b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4736,6 +4736,40 @@ implementation (which is unstable / requires nightly).")
(license (list license:asl2.0
license:expat))))
+(define-public rust-nom-4.2
+ (package
+ (name "rust-nom")
+ (version "4.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nom" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1mkvby8b4m61p4g1px0pwr58yfkphyp1jcfbp4qfp7l6iqdaklia"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-lazy-static" ,rust-lazy-static-1.3)
+ ("rust-lexical-core" ,rust-lexical-core-0.4)
+ ("rust-memchr" ,rust-memchr-2.2)
+ ("rust-regex" ,rust-regex-1.1))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.2)
+ ("rust-doc-comment" ,rust-doc-comment-0.3)
+ ("rust-jemallocator" ,rust-jemallocator-0.3)
+ ("rust-version-check" ,rust-version-check-0.9))))
+ (home-page "https://github.com/Geal/nom")
+ (synopsis
+ "Byte-oriented, zero-copy, parser combinators library")
+ (description
+ "This package provides a byte-oriented, zero-copy, parser
+combinators library.")
+ (license license:expat)))
+
(define-public rust-num-complex-0.2
(package
(name "rust-num-complex")