diff options
| author | Nguyễn Gia Phong <cnx@loang.net> | 2026-02-14 23:23:34 +0900 |
|---|---|---|
| committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2026-03-26 06:35:27 +0100 |
| commit | 0792e2c4a20a690c5dc3ed3306eee22fd5734184 (patch) | |
| tree | 38656c981dbb1844abbabd87cfe6a797b51450f4 | |
| parent | ee5cd30d518c6f6e7e46593cf961fb4731dc90b6 (diff) | |
gnu: Add python-astar.
* gnu/packages/python-xyz.scm (python-astar): New variable.
Change-Id: I90fdb7a803c0fdcdd11a58f223bc88c955808571
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
| -rw-r--r-- | gnu/packages/python-xyz.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 242a53a361c..38092042f74 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -493,6 +493,33 @@ These aspects include CPU, network fabrics, etc. In addition, it offers APIs to detect, query, and compare them.") (license license:expat))) +(define-public python-astar + ;; The Git repository has no tag. + (let ((commit "b48388f5fa7dc1e5069ff85b05f0ad72ea8d5e93") + (revision "0")) + (package + (name "python-astar") + (version (git-version "0.99" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jrialland/python-astar") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1gc4r3xmvw7hgqfadr2cz024ywbzmfak319cdkahd3dzpvyh404q")))) + (build-system pyproject-build-system) + ;; Despite pytest being listed in tool.poetry.group.dev.dependencies, + ;; the test suite has been written for unittest. + (native-inputs (list python-poetry-core)) + (home-page "https://github.com/jrialland/python-astar") + (synopsis "Implementation of the A* search algorithm") + (description + "The @code{astar} Python package provide a generic implementation +of the A* graph traversal and pathfinding algorithm.") + (license license:bsd-3)))) + (define-public python-asyncclick (package (name "python-asyncclick") |
