[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
24/39: gnu: Add rust-peg@0.6.2.
From: |
guix-commits |
Subject: |
24/39: gnu: Add rust-peg@0.6.2. |
Date: |
Thu, 16 Jul 2020 21:40:48 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit db26b98b5a6a41ca489185a6d96d1e53789d4d5f
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Thu Jul 9 05:56:20 2020 -0400
gnu: Add rust-peg@0.6.2.
* gnu/packages/crates-io.scm (rust-peg-0.6): New variable.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cb28105..a22e156 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16223,6 +16223,37 @@ 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 ".crate"))
+ (sha256
+ (base32
+ "15rfp12dgsynplphp443zfw47m2d5snvdm6a25gz48dv2if8fxch"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'remove-failing-tests
+ (lambda _
+ (delete-file "tests/compile-fail/rust_action_type_error.rs")
+ #t)))
+ #:cargo-inputs
+ (("rust-peg-macros" ,rust-peg-macros-0.6)
+ ("rust-peg-runtime" ,rust-peg-runtime-0.6)
+ ("rust-trybuild" ,rust-trybuild-1.0))))
+ (home-page "https://crates.io/crates/peg")
+ (synopsis "Parsing Expression Grammars in Rust")
+ (description "Rust-peg is a simple yet flexible parser generator based on
+the Parsing Expression Grammar formalism. It provides a Rust macro that builds
+a recursive descent parser from a concise definition of the grammar.")
+ (license license:expat)))
+
(define-public rust-peg-macros-0.6
(package
(name "rust-peg-macros")
- 22/39: gnu: Add rust-peg-runtime@0.6.2., (continued)
- 22/39: gnu: Add rust-peg-runtime@0.6.2., guix-commits, 2020/07/16
- 23/39: gnu: Add rust-peg-macros@0.6.2., guix-commits, 2020/07/16
- 25/39: gnu: Add rust-peg@0.5.7., guix-commits, 2020/07/16
- 28/39: gnu: Add rust-pin-project-internal@0.4.22., guix-commits, 2020/07/16
- 30/39: gnu: Add rust-rand-distr@0.2.2., guix-commits, 2020/07/16
- 32/39: git: Add rust-rgb@0.8.20., guix-commits, 2020/07/16
- 20/39: gnu: Add rust-pango@0.8.0., guix-commits, 2020/07/16
- 38/39: gnu: Add rust-nalgebra@0.19.0., guix-commits, 2020/07/16
- 39/39: gnu: librsvg-next: Update package definition., guix-commits, 2020/07/16
- 35/39: gnu: Add rust-selectors@0.22.0., guix-commits, 2020/07/16
- 24/39: gnu: Add rust-peg@0.6.2.,
guix-commits <=
- 26/39: gnu: Add rust-derive-more@0.99.9., guix-commits, 2020/07/16
- 36/39: gnu: Add rust-tinyvec@0.3.3., guix-commits, 2020/07/16
- 27/39: gnu: Add rust-itertools@0.9.0., guix-commits, 2020/07/16
- 29/39: gnu: Add rust-pin-project@0.4.22., guix-commits, 2020/07/16
- 31/39: gnu: Add rust-bytemuck@1.2.0., guix-commits, 2020/07/16
- 33/39: gnu: Add rust-servo-arc@0.1.1., guix-commits, 2020/07/16
- 34/39: gnu: Add rust-thin-slice@0.1.1., guix-commits, 2020/07/16
- 37/39: gnu: Add rust-xml5ever@0.16.1., guix-commits, 2020/07/16