From unknown Sat Jun 14 05:36:12 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#43795] [PATCH] gnu: stockfish: Update to 12. Resent-From: Michael Rohleder Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 04 Oct 2020 15:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43795 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43795@debbugs.gnu.org Cc: Michael Rohleder X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160182564810269 (code B ref -1); Sun, 04 Oct 2020 15:35:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Oct 2020 15:34:08 +0000 Received: from localhost ([127.0.0.1]:46601 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kP61X-0002fZ-Qd for submit@debbugs.gnu.org; Sun, 04 Oct 2020 11:34:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:53616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kP61W-0002fS-OK for submit@debbugs.gnu.org; Sun, 04 Oct 2020 11:34:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51488) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kP61W-0002Dv-Hk for guix-patches@gnu.org; Sun, 04 Oct 2020 11:34:06 -0400 Received: from wp224.webpack.hosteurope.de ([2a01:488:42:1000:50ed:84e7::]:33742) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kP61T-0006RK-Qm for guix-patches@gnu.org; Sun, 04 Oct 2020 11:34:06 -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 1kP61Q-0007aM-CD; Sun, 04 Oct 2020 17:34:00 +0200 Received: from [192.168.1.3] (helo=micha.rohleder.de) by www.rohleder.de with esmtp (Exim 4.94) (envelope-from ) id 1kP61O-0004hm-Tv; Sun, 04 Oct 2020 17:34:00 +0200 From: Michael Rohleder Date: Sun, 4 Oct 2020 17:33:59 +0200 Message-Id: <20201004153359.31979-1-mike@rohleder.de> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1601825643;15d0431f; X-HE-SMSGID: 1kP61Q-0007aM-CD 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/10/04 11:34:00 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: 9 X-Spam_score: 0.9 X-Spam_bar: / X-Spam_report: (0.9 / 5.0 requ) BAYES_00=-1.9, FSL_BULK_SIG=0.001, RAZOR2_CF_RANGE_51_100=1.886, RAZOR2_CHECK=0.922, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/games.scm (stockfish): Update to 12. --- gnu/packages/games.scm | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 28c1492b26..30aa7b9a25 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -11407,7 +11407,7 @@ etc. You can also play games on FICS or against an engine.") (define-public stockfish (package (name "stockfish") - (version "11") + (version "12") (source (origin (method git-fetch) @@ -11416,8 +11416,15 @@ etc. You can also play games on FICS or against an engine.") (commit (string-append "sf_" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "12mppipinymj8s1ipq9a7is453vncly49c32ym9wvyklsgyxfzlk")))) + (base32 "0vcymbwp5nf114pp3ax40s21ki5dckda15vmhr77d1mnq3fn0l32")))) (build-system gnu-build-system) + (inputs + `(("net" + ,(origin + (method url-fetch) + (uri "https://tests.stockfishchess.org/api/nn/nn-82215d0fd0df.nnue") + (sha256 + (base32 "1r4yqrh4di05syyhl84hqcz84djpbd605b27zhbxwg6zs07ms8c2")))))) (arguments `(#:tests? #f #:make-flags (list "-C" "src" @@ -11433,7 +11440,11 @@ etc. You can also play games on FICS or against an engine.") ("mips64el-linux" "general-64") (_ "general-32")))) #:phases (modify-phases %standard-phases - (delete 'configure)))) + (delete 'configure) + (add-after 'unpack 'copy-net + (lambda* (#:key inputs #:allow-other-keys) + (copy-file (assoc-ref inputs "net") "src/nn-82215d0fd0df.nnue") + #t))))) (synopsis "Strong chess engine") (description "Stockfish is a very strong chess engines. It is much stronger than the -- 2.28.0 From unknown Sat Jun 14 05:36:12 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#43795] [PATCH] gnu: stockfish: Update to 12. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 06 Oct 2020 08:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43795 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Michael Rohleder Cc: 43795@debbugs.gnu.org Received: via spool by 43795-submit@debbugs.gnu.org id=B43795.160197135626980 (code B ref 43795); Tue, 06 Oct 2020 08:03:02 +0000 Received: (at 43795) by debbugs.gnu.org; 6 Oct 2020 08:02:36 +0000 Received: from localhost ([127.0.0.1]:51499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPhvf-000716-MH for submit@debbugs.gnu.org; Tue, 06 Oct 2020 04:02:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPhve-00070q-5w for 43795@debbugs.gnu.org; Tue, 06 Oct 2020 04:02:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47098) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPhvY-0005jj-O9; Tue, 06 Oct 2020 04:02:28 -0400 Received: from [2a01:e0a:19b:d9a0:4192:d6b6:52f:260e] (port=60606 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kPhvY-0007HQ-5v; Tue, 06 Oct 2020 04:02:28 -0400 From: Mathieu Othacehe References: <20201004153359.31979-1-mike@rohleder.de> Date: Tue, 06 Oct 2020 10:02:26 +0200 In-Reply-To: <20201004153359.31979-1-mike@rohleder.de> (Michael Rohleder's message of "Sun, 4 Oct 2020 17:33:59 +0200") Message-ID: <87ft6r4wa5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, > + (copy-file (assoc-ref inputs "net") "src/nn-82215d0fd0df.nnue") You could wrap this line and also add a comment explaining why this extra input is necessary. Thanks, Mathieu From unknown Sat Jun 14 05:36:12 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#43795] [PATCH] gnu: stockfish: Update to 12. Resent-From: Michael Rohleder Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 06 Oct 2020 10:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43795 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mathieu Othacehe Cc: 43795@debbugs.gnu.org Received: via spool by 43795-submit@debbugs.gnu.org id=B43795.16019803899322 (code B ref 43795); Tue, 06 Oct 2020 10:34:01 +0000 Received: (at 43795) by debbugs.gnu.org; 6 Oct 2020 10:33:09 +0000 Received: from localhost ([127.0.0.1]:51756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPkHM-0002QH-PZ for submit@debbugs.gnu.org; Tue, 06 Oct 2020 06:33:09 -0400 Received: from wp224.webpack.hosteurope.de ([80.237.132.231]:40004) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPkHI-0002Q5-99 for 43795@debbugs.gnu.org; Tue, 06 Oct 2020 06:33:06 -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 1kPkHG-0003Hq-Au; Tue, 06 Oct 2020 12:33:02 +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 1kPkHE-0006mt-Ql; Tue, 06 Oct 2020 12:33:01 +0200 From: Michael Rohleder References: <20201004153359.31979-1-mike@rohleder.de> <87ft6r4wa5.fsf@gnu.org> X-PGP-Fingerprint: 755E 2DE5 D0D5 85C5 2E78 2830 7C7A FFBE FEF2 CB25 X-PGP-Key: https://www.rohleder.de/~mike/pgpkey.asc Date: Tue, 06 Oct 2020 12:32:57 +0200 In-Reply-To: <87ft6r4wa5.fsf@gnu.org> (Mathieu Othacehe's message of "Tue, 06 Oct 2020 10:02:26 +0200") Message-ID: <87tuv77ig6.fsf@rohleder.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1601980384;193147e8; X-HE-SMSGID: 1kPkHG-0003Hq-Au X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Thank you for reviewing! Mathieu Othacehe writes: >> + (copy-file (assoc-ref inputs "net") "src/nn-82215d0fd0df.nnue") > > You could wrap this line and also add a comment explaining why this > extra input is necessary. Ok, did this and renamed the input to "neural-network". --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-stockfish-Update-to-12.patch Content-Transfer-Encoding: quoted-printable Content-Description: stockfish: Update to 12 >>From b128348ff8ea51b957f5bb811f88850ed541186c Mon Sep 17 00:00:00 2001 From: Michael Rohleder Date: Tue, 6 Oct 2020 12:22:33 +0200 Subject: [PATCH] gnu: stockfish: Update to 12. * gnu/packages/games.scm (stockfish): Update to 12. [inputs]: Add fetching of the official neural network file. [arguments]: Add phase 'copy-net to copy this file and embedd it. =2D-- gnu/packages/games.scm | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 00fc63aedf..d473baa335 100644 =2D-- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -11409,7 +11409,7 @@ etc. You can also play games on FICS or against an= engine.") (define-public stockfish (package (name "stockfish") =2D (version "11") + (version "12") (source (origin (method git-fetch) @@ -11418,8 +11418,15 @@ etc. You can also play games on FICS or against a= n engine.") (commit (string-append "sf_" version)))) (file-name (git-file-name name version)) (sha256 =2D (base32 "12mppipinymj8s1ipq9a7is453vncly49c32ym9wvyklsgyxfzlk"))= )) + (base32 "0vcymbwp5nf114pp3ax40s21ki5dckda15vmhr77d1mnq3fn0l32")))) (build-system gnu-build-system) + (inputs + `(("neural-network" + ,(origin + (method url-fetch) + (uri "https://tests.stockfishchess.org/api/nn/nn-82215d0fd0df.n= nue") + (sha256 + (base32 "1r4yqrh4di05syyhl84hqcz84djpbd605b27zhbxwg6zs07ms8c2"= )))))) (arguments `(#:tests? #f #:make-flags (list "-C" "src" @@ -11435,7 +11442,14 @@ etc. You can also play games on FICS or against a= n engine.") ("mips64el-linux" "general-64") (_ "general-32")))) #:phases (modify-phases %standard-phases =2D (delete 'configure)))) + (delete 'configure) + ;; The official neural network file is needed for buildi= ng + ;; and is embedded in the resulting binary. + (add-after 'unpack 'copy-net + (lambda* (#:key inputs #:allow-other-keys) + (copy-file (assoc-ref inputs "neural-network") + "src/nn-82215d0fd0df.nnue") + #t))))) (synopsis "Strong chess engine") (description "Stockfish is a very strong chess engine. It is much stronger than t= he =2D-=20 2.28.0 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 Happiness does not depend on what you have or who your are. It solely relies on what you think. - Buddha --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFFBAEBCAAvFiEEdV4t5dDVhcUueCgwfHr/vv7yyyUFAl98R9oRHG1pa2VAcm9o bGVkZXIuZGUACgkQfHr/vv7yyyVf2ggAgvVYoArhXhNbMYnf17hE8oFySFaCmaDc IC8szdMiJ4MfNxJDnBKT8hlu0xkWAfQ7RSlinHDpDENHfuunvSG6L6OAbEq5SsHr 2ZIIyrMC8ykwDVIZQq4SKhrIbr0wUWfZlICwFeZ4WXsAQUb7EReueG1Y6NqaQVMd uN+BSEDN5d8MVxKaThBX+8gmObBnJHgrM0UQcEvMv18Wx+aFfBqyZjiVpjdvJerg c7aXUdWpeE2mGGVq4jHENCjQNt9Ey/64/sxMyEu11QCKAjvbcA4LjlvayD+pD35F f+4hFQ4ITBmHnZgV1TltSPHqPunyiJkqJfgIWFvtGo4igJhYquL5YA== =l8eA -----END PGP SIGNATURE----- --==-=-=-- From unknown Sat Jun 14 05:36:12 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Michael Rohleder Subject: bug#43795: closed (Re: [bug#43795] [PATCH] gnu: stockfish: Update to 12.) Message-ID: References: <87o8lf3721.fsf@gnu.org> <20201004153359.31979-1-mike@rohleder.de> X-Gnu-PR-Message: they-closed 43795 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 43795@debbugs.gnu.org Date: Tue, 06 Oct 2020 11:53:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1601985182-24961-1" This is a multi-part message in MIME format... ------------=_1601985182-24961-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #43795: [PATCH] gnu: stockfish: Update to 12. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 43795@debbugs.gnu.org. --=20 43795: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D43795 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1601985182-24961-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 43795-done) by debbugs.gnu.org; 6 Oct 2020 11:52:49 +0000 Received: from localhost ([127.0.0.1]:51826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPlWT-0006UC-2K for submit@debbugs.gnu.org; Tue, 06 Oct 2020 07:52:49 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37446) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPlWQ-0006Ty-FJ for 43795-done@debbugs.gnu.org; Tue, 06 Oct 2020 07:52:47 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49808) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPlWK-00020q-Dh; Tue, 06 Oct 2020 07:52:40 -0400 Received: from [2a01:e0a:19b:d9a0:4192:d6b6:52f:260e] (port=35474 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kPlWJ-0000WF-VB; Tue, 06 Oct 2020 07:52:40 -0400 From: Mathieu Othacehe To: Michael Rohleder Subject: Re: [bug#43795] [PATCH] gnu: stockfish: Update to 12. References: <20201004153359.31979-1-mike@rohleder.de> <87ft6r4wa5.fsf@gnu.org> <87tuv77ig6.fsf@rohleder.de> Date: Tue, 06 Oct 2020 13:52:38 +0200 In-Reply-To: <87tuv77ig6.fsf@rohleder.de> (Michael Rohleder's message of "Tue, 06 Oct 2020 12:32:57 +0200") Message-ID: <87o8lf3721.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43795-done Cc: 43795-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Ok, did this and renamed the input to "neural-network". Nice, pushed as b343f5d8fdea44ebcf2e8459f4a3b1ce7da07df2. Thanks, Mathieu ------------=_1601985182-24961-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 4 Oct 2020 15:34:08 +0000 Received: from localhost ([127.0.0.1]:46601 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kP61X-0002fZ-Qd for submit@debbugs.gnu.org; Sun, 04 Oct 2020 11:34:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:53616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kP61W-0002fS-OK for submit@debbugs.gnu.org; Sun, 04 Oct 2020 11:34:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51488) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kP61W-0002Dv-Hk for guix-patches@gnu.org; Sun, 04 Oct 2020 11:34:06 -0400 Received: from wp224.webpack.hosteurope.de ([2a01:488:42:1000:50ed:84e7::]:33742) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kP61T-0006RK-Qm for guix-patches@gnu.org; Sun, 04 Oct 2020 11:34:06 -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 1kP61Q-0007aM-CD; Sun, 04 Oct 2020 17:34:00 +0200 Received: from [192.168.1.3] (helo=micha.rohleder.de) by www.rohleder.de with esmtp (Exim 4.94) (envelope-from ) id 1kP61O-0004hm-Tv; Sun, 04 Oct 2020 17:34:00 +0200 From: Michael Rohleder To: guix-patches@gnu.org Subject: [PATCH] gnu: stockfish: Update to 12. Date: Sun, 4 Oct 2020 17:33:59 +0200 Message-Id: <20201004153359.31979-1-mike@rohleder.de> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1601825643;15d0431f; X-HE-SMSGID: 1kP61Q-0007aM-CD 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/10/04 11:34:00 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: 9 X-Spam_score: 0.9 X-Spam_bar: / X-Spam_report: (0.9 / 5.0 requ) BAYES_00=-1.9, FSL_BULK_SIG=0.001, RAZOR2_CF_RANGE_51_100=1.886, RAZOR2_CHECK=0.922, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: Michael Rohleder X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/games.scm (stockfish): Update to 12. --- gnu/packages/games.scm | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 28c1492b26..30aa7b9a25 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -11407,7 +11407,7 @@ etc. You can also play games on FICS or against an engine.") (define-public stockfish (package (name "stockfish") - (version "11") + (version "12") (source (origin (method git-fetch) @@ -11416,8 +11416,15 @@ etc. You can also play games on FICS or against an engine.") (commit (string-append "sf_" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "12mppipinymj8s1ipq9a7is453vncly49c32ym9wvyklsgyxfzlk")))) + (base32 "0vcymbwp5nf114pp3ax40s21ki5dckda15vmhr77d1mnq3fn0l32")))) (build-system gnu-build-system) + (inputs + `(("net" + ,(origin + (method url-fetch) + (uri "https://tests.stockfishchess.org/api/nn/nn-82215d0fd0df.nnue") + (sha256 + (base32 "1r4yqrh4di05syyhl84hqcz84djpbd605b27zhbxwg6zs07ms8c2")))))) (arguments `(#:tests? #f #:make-flags (list "-C" "src" @@ -11433,7 +11440,11 @@ etc. You can also play games on FICS or against an engine.") ("mips64el-linux" "general-64") (_ "general-32")))) #:phases (modify-phases %standard-phases - (delete 'configure)))) + (delete 'configure) + (add-after 'unpack 'copy-net + (lambda* (#:key inputs #:allow-other-keys) + (copy-file (assoc-ref inputs "net") "src/nn-82215d0fd0df.nnue") + #t))))) (synopsis "Strong chess engine") (description "Stockfish is a very strong chess engines. It is much stronger than the -- 2.28.0 ------------=_1601985182-24961-1--