aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSören Tempel <soeren@soeren-tempel.net>2024-09-27 20:35:01 +0200
committerLudovic Courtès <ludo@gnu.org>2024-10-07 12:51:24 +0200
commit53c7ce9c9aafabcdf2e4a7bbafe76b4205220297 (patch)
tree3e6e84f19d212433a99dc8e446a1d2e518930f7e
parentf343e91fb3ac04304dff105e52539ef5492a6825 (diff)
downloadguix-53c7ce9c9aafabcdf2e4a7bbafe76b4205220297.tar
guix-53c7ce9c9aafabcdf2e4a7bbafe76b4205220297.tar.gz
gnu: Add python-pyformlang.
* gnu/packages/python-xyz.scm (python-pyformlang): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/python-xyz.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 22c6b09909..be095bdb4a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23859,6 +23859,27 @@ creating a tag.")
parse many formal languages.")
(license license:gpl2)))
+(define-public python-pyformlang
+ (package
+ (name "python-pyformlang")
+ (version "1.0.10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pyformlang" version))
+ (sha256
+ (base32 "0szgy4pqfixmswjs37qgma4qa3bsadpp3l1xflrpfi10aa8hh2sp"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list python-networkx python-numpy python-pydot))
+ (home-page "https://github.com/Aunsiels/pyformlang")
+ (synopsis "Framework for interacting with formal grammars")
+ (description
+ "This package provides a framework for working with formal
+language grammars. The library was originally developed for educational
+purposes and therefore implements many textbook algorithms regarding the
+manipulation and interaction with formal grammars.")
+ (license license:expat)))
+
(define-public python-incremental
(package
(name "python-incremental")