diff --git a/README.org b/README.org index deda800..0700b02 100644 --- a/README.org +++ b/README.org @@ -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 | diff --git a/python-chess.scm b/python-chess.scm new file mode 100644 index 0000000..1916a8c --- /dev/null +++ b/python-chess.scm @@ -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+)))