python-chess: add

This commit is contained in:
Pavel Korytov 2024-01-01 13:40:20 +03:00
parent b47ea056ec
commit 0156106fe9
2 changed files with 27 additions and 0 deletions

View file

@ -13,6 +13,7 @@ I'll probably push what I can upstream when I figure Guix out.
| [[https://github.com/nikola-kocic/i3-switch-tabs][i3-switch-tabs]] | OK | |
| [[https://github.com/eafer/rdrview][rdrview]] | OK | |
| [[https://github.com/ggerganov/whisper.cpp][whisper-cpp]] | OK | |
| [[https://github.com/niklasf/python-chess/][python-chess]] | OK | |
| [[https://github.com/risacher/sunwait][sunwait]] | OK | Version number |
| [[https://github.com/alfredopalhares/openvpn-update-resolv-conf][openvpn-update-resolv-conf]] | OK | Just watch out for $PATH if launched from OpenVPN |
| [[https://github.com/fdw/rofimoji/][rofimoji]] | OK | But I had to create setup.py myself |

26
python-chess.scm Normal file
View file

@ -0,0 +1,26 @@
(define-module (python-chess)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject))
(define-public python-chess
(package
(name "python-chess")
(version "1.10.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "chess" version))
(sha256
(base32 "0m6d7j3f5l43aqixjgw6580na73kafllnazrk7l3d92ayl2y3kdw"))))
(build-system pyproject-build-system)
(home-page "https://github.com/niklasf/python-chess")
(synopsis
"A chess library with move generation and validation, Polyglot opening book probing, PGN reading and writing, Gaviota tablebase probing, Syzygy tablebase probing, and XBoard/UCI engine communication.")
(description
"This package provides a chess library with move generation and validation,
Polyglot opening book probing, PGN reading and writing, Gaviota tablebase
probing, Syzygy tablebase probing, and XBoard/UCI engine communication.")
(license license:gpl3+)))