diff options
author | Eric Bavier <bavier@member.fsf.org> | 2017-02-09 23:03:48 -0600 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2017-02-14 21:20:36 -0600 |
commit | d8768e3172aae74cf3068e04659996efb4cbe2ce (patch) | |
tree | 6aa6a6232097e8f40794e5096d6930989fbb93a6 | |
parent | 4dcb135e7cf4d167cacbcee0d7b8a056a80dd2a1 (diff) | |
download | patches-d8768e3172aae74cf3068e04659996efb4cbe2ce.tar patches-d8768e3172aae74cf3068e04659996efb4cbe2ce.tar.gz |
gnu: Add python-pypeg2.
* gnu/packages/python.scm (python-pypeg2): New variable.
-rw-r--r-- | gnu/packages/python.scm | 23 |
1 files changed, 23 insertions, 0 deletions
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))) |