diff mbox series

[bug#55474,v3,11/17] gnu: Add python-parsy.

Message ID 20230417145337.12403-11-ngraves@ngraves.fr
State New
Headers show
Series [bug#55474,v3,01/17] gnu: python-django-taggit: Update to 3.1.0. | expand

Commit Message

Nicolas Graves April 17, 2023, 2:53 p.m. UTC
* gnu/packages/python-xyz.scm (python-parsy): New variable.
---
 gnu/packages/python-xyz.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8fc15ef658..3cf3466ce3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3460,6 +3460,24 @@  (define-public python-parse
 syntax.")
     (license license:x11)))
 
+(define-public python-parsy
+  (package
+    (name "python-parsy")
+    (version "1.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "parsy" version))
+       (sha256
+        (base32 "00pkd1irxp1c9mcg3x1k3ny8jl7w5jfxp45ky0qp9s90wmri6hbw"))))
+    (build-system python-build-system)
+    (native-inputs (list python-pytest python-attrs))
+    (home-page "https://github.com/python-parsy/parsy")
+    (synopsis "Parsing in pure Python")
+    (description "This package provides easy-to-use parser combinators, for
+parsing in pure Python.")
+    (license license:expat)))
+
 (define-public python-polib
   (package
     (name "python-polib")