mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-20 06:37:08 +01:00
gnu: Add emacs-chess.
* gnu/packages/emacs-xyz.scm (emacs-chess): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
6667576b66
commit
70dcd7c78b
1 changed files with 31 additions and 0 deletions
|
@ -5905,6 +5905,37 @@ (define-public emacs-2048-game
|
|||
board and goal value can be customized.")
|
||||
(license license:gpl3+)))
|
||||
|
||||
(define-public emacs-chess
|
||||
(package
|
||||
(name "emacs-chess")
|
||||
(version "2.0.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://elpa.gnu.org/packages/"
|
||||
"chess-" version ".tar"))
|
||||
(sha256
|
||||
(base32 "1sq1bjmp513vldfh7hc2bbfc54665abqiz0kqgqq3gijckaxn5js"))))
|
||||
(build-system emacs-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'install 'install-pieces
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(pieces
|
||||
(string-append out "/share/emacs/site-lisp/pieces")))
|
||||
(mkdir-p site-lisp)
|
||||
(copy-recursively "pieces" pieces)
|
||||
#t))))))
|
||||
(home-page "https://elpa.gnu.org/packages/chess.html")
|
||||
(synopsis "Play chess in GNU Emacs")
|
||||
(description
|
||||
"Chess is an Emacs Lisp library and several clients on top of the
|
||||
underlying library functionality for performing various activities related to
|
||||
the game of chess.")
|
||||
(license license:gpl3+)))
|
||||
|
||||
(define-public emacs-4clojure
|
||||
;; There is no release. Base version is extracted from Version keyword in
|
||||
;; the main file.
|
||||
|
|
Loading…
Reference in a new issue