From: Brice Waegeneire <brice@waegenei.re>
To: 40996@debbugs.gnu.org
Subject: [bug#40996] [PATCH 1/3] gnu: Add pegtl.
Date: Fri, 1 May 2020 15:09:28 +0200 [thread overview]
Message-ID: <20200501130930.5888-1-brice@waegenei.re> (raw)
In-Reply-To: <20200501130604.4180-1-brice@waegenei.re>
* gnu/packages/cpp.scm (pegtl): New variable.
---
gnu/packages/cpp.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 2248ebfc4b..cdc1c0e0f4 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -9,6 +9,7 @@
;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
;;; Copyright © 2020 Roel Janssen <roel@gnu.org>
;;; Copyright © 2020 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -485,3 +486,24 @@ point and then, after each tween step, plugging back the result.")
augment the C++ standard library. The Abseil library code is collected from
Google's C++ code base.")
(license license:asl2.0)))
+
+(define-public pegtl
+ (package
+ (name "pegtl")
+ (version "2.8.3")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/taocpp/PEGTL.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "17crgjfdx55imi2dqnz6xpvsxq07390yfgkz5nd2g77ydkvq9db3"))))
+ (build-system cmake-build-system)
+ (home-page "https://github.com/taocpp/PEGTL")
+ (synopsis "Parsing Expression Grammar Template Library")
+ (description "The Parsing Expression Grammar Template Library (PEGTL) is
+a zero-dependency C++ header-only parser combinator library for creating
+parsers according to a Parsing Expression Grammar (PEG).")
+ (license license:expat)))
--
2.26.0
next prev parent reply other threads:[~2020-05-01 13:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-01 13:06 [bug#40996] [PATCH 0/3] Fix usbguard's warning about 'catch' Brice Waegeneire
2020-05-01 13:09 ` Brice Waegeneire [this message]
2020-05-01 13:09 ` [bug#40996] [PATCH 2/3] gnu: usbguard: Use packaged 'pegtl' Brice Waegeneire
2020-05-04 20:13 ` Ludovic Courtès
2020-05-01 13:09 ` [bug#40996] [PATCH 3/3] gnu: usbguard: Fix warning about 'catch' Brice Waegeneire
2020-05-04 20:17 ` Ludovic Courtès
2020-05-07 9:33 ` bug#40996: " Brice Waegeneire
2020-05-04 20:13 ` [bug#40996] [PATCH 1/3] gnu: Add pegtl Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200501130930.5888-1-brice@waegenei.re \
--to=brice@waegenei.re \
--cc=40996@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).