summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorBrian Leung <leungbk@mailfence.com>2019-10-06 07:31:25 +0200
committerBrian Leung <leungbk@mailfence.com>2019-10-07 04:34:59 +0200
commit47467ce75ab8c4ea24b9c8bf21d7e1041b8e603e (patch)
treedcc308c1810a72c012d41c24424e9365e5d9d0a9 /gnu
parentb44271350b897aff8cd90b5e77b3c40b0bf6e3dc (diff)
gnu: Add emacs-peg.
* gnu/packages/emacs-xyz.scm (emacs-peg): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 85931912d4..95cb9951de 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -11715,6 +11715,26 @@ tables of contents.")
timestamps by providing a @code{ts} struct.")
(license license:gpl3+))))
+(define-public emacs-peg
+ (package
+ (name "emacs-peg")
+ (version "0.6")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/emacsmirror/peg")
+ (commit version)))
+ (sha256
+ (base32
+ "0kjz7ch4bn0m4v9zgqyqcrsasnqc5c5drv2hp22j7rnbb7ny0q3n"))
+ (file-name (git-file-name name version))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/emacsmirror/peg/")
+ (synopsis "Parsing Expression Grammars in Elisp")
+ (description "This package provides a macro that parses the current buffer
+according to a parsing expression grammar.")
+ (license license:gpl3+)))
+
(define-public emacs-org-ql
(package
(name "emacs-org-ql")