From d8768e3172aae74cf3068e04659996efb4cbe2ce Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Thu, 9 Feb 2017 23:03:48 -0600 Subject: 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 3ed5e2eead..3b97939e24 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))) -- cgit v1.2.3