[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: Add pegtl.
From: |
guix-commits |
Subject: |
01/03: gnu: Add pegtl. |
Date: |
Thu, 7 May 2020 05:27:02 -0400 (EDT) |
bricewge pushed a commit to branch master
in repository guix.
commit 741d22264734b3c85ef10b47f6a39a474a736070
Author: Brice Waegeneire <address@hidden>
AuthorDate: Fri May 1 12:00:21 2020 +0200
gnu: Add pegtl.
* 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 2248ebf..371927e 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -9,6 +9,7 @@
;;; Copyright © 2020 Nicolò Balzarotti <address@hidden>
;;; Copyright © 2020 Roel Janssen <address@hidden>
;;; Copyright © 2020 Ricardo Wurmus <address@hidden>
+;;; Copyright © 2020 Brice Waegeneire <address@hidden>
;;;
;;; 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)))