summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJesse Gibbons <jgibbons2357+guix@gmail.com>2019-12-25 01:22:49 -0600
committerBrett Gilio <brettg@gnu.org>2019-12-25 01:22:49 -0600
commitc5eb8cf844148fb99934c3fedc3b4a0da55f9d8e (patch)
tree45a7a78875567891f994fb11a8b1fc4f732d7d41 /gnu/packages
parent6b520177734e1c144fd6394f801919d0b54fa23e (diff)
gnu: Add python-funcparserlib.
* gnu/packages/python-xyz.scm (python-funcparserlib): New variable. Signed-off-by: Brett Gilio <brettg@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-xyz.scm30
1 files changed, 30 insertions, 0 deletions
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)))