[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/04: gnu: Add python-pypeg2.
From: |
Eric Bavier |
Subject: |
02/04: gnu: Add python-pypeg2. |
Date: |
Tue, 14 Feb 2017 23:33:11 -0500 (EST) |
bavier pushed a commit to branch master
in repository guix.
commit d8768e3172aae74cf3068e04659996efb4cbe2ce
Author: Eric Bavier <address@hidden>
Date: Thu Feb 9 23:03:48 2017 -0600
gnu: Add python-pypeg2.
* gnu/packages/python.scm (python-pypeg2): New variable.
---
gnu/packages/python.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 3ed5e2e..3b97939 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -12685,3 +12685,26 @@ Sorted dictionaries are also provided. Currently only
with @dfn{Key Sorted
Order} (KSO, no sorting function can be specified, but a transform can be
specified to apply on the key before comparison (e.g. @code{string.lower})).")
(license license:expat)))
+
+(define-public python-pypeg2
+ (package
+ (name "python-pypeg2")
+ (version "2.15.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pyPEG2" version))
+ (sha256
+ (base32
+ "0v8ziaam2r637v94ra4dbjw6jzxz99gs5x4i585kgag1v204yb9b"))))
+ (build-system python-build-system)
+ (propagated-inputs `(("python-lxml" ,python-lxml)))
+ (arguments
+ ;;https://bitbucket.org/fdik/pypeg/issues/36/test-failures-on-py35
+ '(#:tests? #f))
+ (home-page "https://fdik.org/pyPEG/")
+ (synopsis "Parsering Expression Grammars in Python")
+ (description "PyPEG is an intrinsic parser interpreter framework for
+Python. It is based on Parsing Expression Grammars, PEG. With pyPEG you can
+parse many formal languages.")
+ (license license:gpl2)))