From c5eb8cf844148fb99934c3fedc3b4a0da55f9d8e Mon Sep 17 00:00:00 2001 From: Jesse Gibbons Date: Wed, 25 Dec 2019 01:22:49 -0600 Subject: gnu: Add python-funcparserlib. * gnu/packages/python-xyz.scm (python-funcparserlib): New variable. Signed-off-by: Brett Gilio --- gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5433f4f1d7..0f682db504 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17047,3 +17047,33 @@ paths.") slowly because it imports pkg_resources. This package allows such setup scripts to load entry points more quickly.") (license license:bsd-3))) + +(define-public python-funcparserlib + (package + (name "python-funcparserlib") + (version "0.3.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "funcparserlib" version)) + (sha256 + (base32 + "07f9cgjr3h4j2m67fhwapn8fja87vazl58zsj4yppf9y3an2x6dp")))) + (native-inputs + `(("python-tox" ,python-tox))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "tox")))))) + (build-system python-build-system) + (home-page + "https://github.com/vlasovskikh/funcparserlib") + (synopsis + "Recursive descent parsing library based on functional combinators") + (description + "This package is a recurisve descent parsing library for Python based on +functional combinators. Parser combinators are just higher-order functions +that take parsers as their arguments and return them as result values.") + (license license:expat))) -- cgit v1.2.3