GNU bug report logs -
#75669
[PATCH] gnu: moonfish: update to 1.
Previous Next
Reported by: zamfofex <zamfofex <at> twdb.moe>
Date: Sun, 19 Jan 2025 11:35:02 UTC
Severity: normal
Tags: patch
Done: 宋文武 <iyzsong <at> envs.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Thu, 30 Jan 2025 17:19:51 +0800
with message-id <8734h08xqg.fsf <at> envs.net>
and subject line Re: [bug#75669] [PATCH] gnu: moonfish: update to 1.
has caused the debbugs.gnu.org bug report #75669,
regarding [PATCH] gnu: moonfish: update to 1.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
75669: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75669
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
* gnu/packages/games.scm (moonfish): Update to 1.
Change-Id: I0981fc8a24501d5b1bfe04be2f50f92544d620dd
---
gnu/packages/games.scm | 67 +++++++++++++++++++++++-------------------
1 file changed, 36 insertions(+), 31 deletions(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 3d71a7cf8b..a570e7187e 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -70,7 +70,7 @@
;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
;;; Copyright © 2022, 2023 Yovan Naumovski <yovan <at> gorski.stream>
;;; Copyright © 2022 Roman Riabenko <roman <at> riabenko.com>
-;;; Copyright © 2022, 2023 zamfofex <zamfofex <at> twdb.moe>
+;;; Copyright © 2022, 2023, 2025 zamfofex <zamfofex <at> twdb.moe>
;;; Copyright © 2022 Gabriel Arazas <foo.dogsquared <at> gmail.com>
;;; Copyright © 2022-2024 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
;;; Copyright © 2022 Hendursaga <hendursaga <at> aol.com>
@@ -11304,36 +11304,41 @@ (define-public stockfish
(license license:gpl3+))))
(define-public moonfish
- (let ((commit "fb2cb4f53876b1b0c6060464e0dd5a05ab00e502")
- (revision "2"))
- (package
- (name "moonfish")
- (version (git-version "0" revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://git.sr.ht/~zamfofex/moonfish")
- (commit commit)))
- (sha256
- (base32
- "1rbhdahp0s2qm1zi7lpr0bb6zq02y76fc9d9nc2k5n03zh2as97i"))
- (file-name (git-file-name name version))))
- (build-system gnu-build-system)
- (arguments
- (list
- #:make-flags #~(list (string-append "CC=" #$(cc-for-target))
- (string-append "PREFIX=" %output))
- #:tests? #f ;no check target
- #:phases #~(modify-phases %standard-phases
- (delete 'configure)))) ;no configure script
- (inputs (list bearssl cjson))
- (home-page "https://git.sr.ht/~zamfofex/moonfish")
- (synopsis "Simple chess engine written in C")
- (description
- "moonfish is a toy UCI chess engine written in C for fun. It has TUI/CLI
-tools for using any UCI engine and also to connect UCI engines to Lichess, as
-well as for converting engines between UCI and UGI.")
- (license license:agpl3+))))
+ (package
+ (name "moonfish")
+ (version "1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.sr.ht/~zamfofex/moonfish")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32 "0p5rdrqiip6n5wdxjvlsg7qnwdwrpl9g3j1mx7q0i9a8zmkj2ryv"))
+ (file-name (git-file-name name version))
+ (modules '((guix build utils)))
+ (snippet #~(begin
+ ;; Avoid relying on '/dev/stderr', which doesn't work at the
+ ;; top-level of a Guix build, because it refers to a pipe
+ ;; that the build user doesn't have permission to access.
+ (substitute* "scripts/check.sh"
+ (("\\btee /dev/stderr\\b")
+ "tee"))))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:make-flags #~(list (string-append "CC="
+ #$(cc-for-target))
+ (string-append "PREFIX=" %output))
+ #:phases #~(modify-phases %standard-phases
+ (delete 'configure)))) ;no configure script
+ (inputs (list libressl cjson))
+ (home-page "https://moonfish.neocities.org")
+ (synopsis "Simple chess engine written in C")
+ (description
+ "moonfish is a toy UCI chess engine written in C. It has TUI/CLI tools
+for using any UCI engine and also to connect UCI engines to Lichess and IRC.")
+ (license license:agpl3+)))
(define-public morris
(package
base-commit: 0b06a5bc97938cae3da19e566c2f6f71cc299d78
--
2.47.1
[Message part 3 (message/rfc822, inline)]
zamfofex <zamfofex <at> twdb.moe> writes:
> * gnu/packages/games.scm (moonfish): Update to 1.
Pushed to master, thank you!
This bug report was last modified 110 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.