gnu: Add python-pyformlang.

* gnu/packages/python-xyz.scm (python-pyformlang): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Sören Tempel 2024-09-27 20:35:01 +02:00 committed by Ludovic Courtès
parent f343e91fb3
commit 53c7ce9c9a
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -23859,6 +23859,27 @@ (define-public python-pypeg2
parse many formal languages.") parse many formal languages.")
(license license:gpl2))) (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 (define-public python-incremental
(package (package
(name "python-incremental") (name "python-incremental")