From 9e630a362d8d280800cc96c9420ff09f119228b7 Mon Sep 17 00:00:00 2001 From: Vincent Prat Date: Fri, 29 Apr 2022 09:43:35 +0200 Subject: gnu: Add python-arpeggio. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm (python-arpeggio): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 804cffced4..cf3e201b1a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29675,6 +29675,35 @@ versions of MkDocs-powered docs to a Git branch. It is suitable for deploying to Github via gh-pages.") (license license:bsd-3))) +(define-public python-arpeggio + (package + (name "python-arpeggio") + (version "2.0.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "Arpeggio" version)) + (sha256 + (base32 + "0ggdsck1wpladd5bh9drhkmm86bblgk2wagrhn3sdf4v04wkic6n")))) + (build-system python-build-system) + (native-inputs (list python-coverage + python-coveralls + python-flake8 + python-mike + python-mkdocs + python-pytest + python-pytest-runner + python-twine + python-wheel)) + (home-page "https://github.com/textX/Arpeggio") + (synopsis "Packrat parser interpreter for Python") + (description + "This Python library provides a recursive descent parser with backtracking +and memoization (a.k.a. packrat parser). Arpeggio grammars are based on PEG +formalism. Arpeggio's main use is a foundation for a toolchain for DSL +development but it can be used for all sorts of general purpose parsing.") + (license license:expat))) + (define-public python-flatten-json (package (name "python-flatten-json") -- cgit v1.2.3