Subject: [bug#56752] [PATCH 20/27] gnu: Add rust-peg-0.8.

From: Aleksandr Vityazev <[email-masked]>
Date: Sun, 24 Jul 2022 21:38:46 +0000

* gnu/packages/crates-io.scm (rust-peg-0.8): New variable.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cf0c8f7150..fb4fa7b0ff 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41795,6 +41795,33 @@ (define-public rust-peeking-take-while-0.1
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-peg-0.8
+  (package
+    (name "rust-peg")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "peg" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0b6dgycdclxfxdp6ag9px99mjj04s7k3vs9pijrz66l14vl8ywmg"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-peg-macros" ,rust-peg-macros-0.8)
+        ("rust-peg-runtime" ,rust-peg-runtime-0.8))
+       #:cargo-development-inputs
+       (("rust-trybuild" ,rust-trybuild-1))))
+    (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-0.6
   (package
     (name "rust-peg")
-- 
2.37.1

-- 

Aleksandr Vityazev