diff options
author | John Soo <jsoo1@asu.edu> | 2020-06-16 18:52:31 -0700 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-07-06 21:54:01 +0300 |
commit | 41de2761d4bcc0f84ac8eba9817102738c7d6a3d (patch) | |
tree | fb7b1fe883e0d2f58d59042d9587e33c495efcd0 /gnu | |
parent | d5a577070d58901f862a293eb9ce5525c7896359 (diff) |
gnu: Add rust-peg-0.6.
* gnu/packages/crates-io.scm (rust-peg-0.6): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fd916cf0e6..01e7687dc2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -15906,6 +15906,34 @@ the @code{take_while} predicate returned false after dropping the @code{by_ref}. (license (list license:asl2.0 license:expat)))) +(define-public rust-peg-0.6 + (package + (name "rust-peg") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "peg" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "15rfp12dgsynplphp443zfw47m2d5snvdm6a25gz48dv2if8fxch")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f + #:cargo-inputs + (("rust-peg-macros" ,rust-peg-macros-0.6) + ("rust-peg-runtime" ,rust-peg-runtime-0.6)) + #:cargo-development-inputs + (("rust-trybuild" ,rust-trybuild-1.0)))) + (home-page "https://github.com/kevinmehall/rust-peg") + (synopsis "Simple Parsing Expression Grammar (PEG) parser generator") + (description + "PEG provides a simple Parsing Expression Grammar (PEG) parser generator +in Rust.") + (license license:expat))) + (define-public rust-peg-macros-0.6 (package (name "rust-peg-macros") |