From patchwork Mon Jul 6 09:46:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Rohleder X-Patchwork-Id: 23078 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C96F127BBE3; Mon, 6 Jul 2020 10:49:21 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 4CF5627BBE1 for ; Mon, 6 Jul 2020 10:49:21 +0100 (BST) Received: from localhost ([::1]:54646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jsNkW-0003be-QZ for patchwork@mira.cbaines.net; Mon, 06 Jul 2020 05:49:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50200) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jsNjG-0002Fb-TW for guix-patches@gnu.org; Mon, 06 Jul 2020 05:48:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50328) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jsNjG-0001N2-JA for guix-patches@gnu.org; Mon, 06 Jul 2020 05:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jsNjG-0007Ne-HR for guix-patches@gnu.org; Mon, 06 Jul 2020 05:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42226] [PATCH] gnu: Add emacs-chess. Resent-From: Michael Rohleder Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 06 Jul 2020 09:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42226 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42226@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159402883628311 (code B ref -1); Mon, 06 Jul 2020 09:48:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Jul 2020 09:47:16 +0000 Received: from localhost ([127.0.0.1]:33641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsNiW-0007MZ-IG for submit@debbugs.gnu.org; Mon, 06 Jul 2020 05:47:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:48050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsNiV-0007MS-Fi for submit@debbugs.gnu.org; Mon, 06 Jul 2020 05:47:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50030) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jsNiV-0001QI-7w for guix-patches@gnu.org; Mon, 06 Jul 2020 05:47:15 -0400 Received: from wp224.webpack.hosteurope.de ([2a01:488:42:1000:50ed:84e7::]:54292) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jsNiS-0001GJ-9k for guix-patches@gnu.org; Mon, 06 Jul 2020 05:47:14 -0400 Received: from www.rohleder.de ([37.61.204.227]); authenticated by wp224.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1jsNiN-0001Oj-Vf; Mon, 06 Jul 2020 11:47:07 +0200 Received: from [192.168.1.3] (helo=micha) by www.rohleder.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1jsNiN-0005nM-12 for guix-patches@gnu.org; Mon, 06 Jul 2020 11:47:07 +0200 From: Michael Rohleder X-PGP-Fingerprint: 755E 2DE5 D0D5 85C5 2E78 2830 7C7A FFBE FEF2 CB25 X-PGP-Key: https://www.rohleder.de/~mike/pgpkey.asc Date: Mon, 06 Jul 2020 11:46:56 +0200 Message-ID: <87sge5t1pr.fsf@rohleder.de> MIME-Version: 1.0 X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1594028830;56dd86d9; X-HE-SMSGID: 1jsNiN-0001Oj-Vf Received-SPF: permerror client-ip=2a01:488:42:1000:50ed:84e7::; envelope-from=mike@rohleder.de; helo=wp224.webpack.hosteurope.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/06 05:47:08 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From 4da0fa92cb532cf25a0a3fdf9d1369e61b1fa883 Mon Sep 17 00:00:00 2001 From: Michael Rohleder Date: Mon, 6 Jul 2020 11:43:34 +0200 Subject: [PATCH] gnu: Add emacs-chess. * gnu/packages/emacs-xyz.scm (emacs-chess): New variable. --- gnu/packages/emacs-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 2fdda96b45..1c5ebb0740 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -5905,6 +5905,39 @@ The goal of this game is to create a tile with value 2048. The size of the 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")) + (site-lisp + (string-append + out "/share/emacs/site-lisp/pieces"))) + (mkdir-p site-lisp) + (copy-recursively "pieces" site-lisp) + #t)))))) + (home-page "https://elpa.gnu.org/packages/chess.html") + (synopsis "Play chess in GNU Emacs") + (description "chess.el 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. -- 2.27.0