sharlatan pushed a commit to branch master
in repository guix.

commit d4bbd1a80ae1694a352cdb700775f717bc6cdb0b
Author: Lars Bilke <lars.bi...@ufz.de>
AuthorDate: Fri Mar 14 08:52:26 2025 +0100

    gnu: Add python-flexparser.
    
    * gnu/packages/python-xyz.scm (python-flexparser): New variable.
    
    Change-Id: I93a33886285a736fa50c6e8ee66b7d34e61ced5c
    Signed-off-by: Sharlatan Hellseher <sharlata...@gmail.com>
---
 gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4408650c77..bb951f339b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -613,6 +613,34 @@ expensive calculations.  It was started as part of
 @url{https://github.com/hgrecco/pint, Pint}, the Python units package.")
     (license license:bsd-3)))
 
+(define-public python-flexparser
+  (package
+    (name "python-flexparser")
+    (version "0.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "flexparser" version))
+       (sha256
+        (base32 "1cpn5scxnxbd2jrnany4znzzn9im5h5gwr59bp62rglman89hv96"))))
+    (build-system pyproject-build-system)
+    (native-inputs
+     (list python-pytest
+           python-pytest-cov
+           python-pytest-mpl
+           python-pytest-subtests
+           python-setuptools
+           python-setuptools-scm
+           python-wheel))
+    (propagated-inputs
+     (list python-typing-extensions))
+    (home-page "https://github.com/hgrecco/flexparser";)
+    (synopsis "Parsing made fun ... using typing")
+    (description "This project provides a typed parser.  It was started as
+part of @url{https://github.com/hgrecco/pint, Pint}, the Python units
+package. ")
+    (license license:bsd-3)))
+
 (define-public python-jsonpath-ng
   (package
     (name "python-jsonpath-ng")

Reply via email to