guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] gnu: Add gnugo.


From: David Hashe
Subject: [PATCH] gnu: Add gnugo.
Date: Thu, 19 Feb 2015 07:57:21 -0600

---
 gnu-system.am          |  1 +
 gnu/packages/gnugo.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)
 create mode 100644 gnu/packages/gnugo.scm

diff --git a/gnu-system.am b/gnu-system.am
index eeadd8f..723a00c 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -122,6 +122,7 @@ GNU_SYSTEM_MODULES =                                \
   gnu/packages/global.scm                      \
   gnu/packages/gnome.scm                       \
   gnu/packages/gnunet.scm                      \
+  gnu/packages/gnugo.scm                       \
   gnu/packages/gnupg.scm                       \
   gnu/packages/gnustep.scm                     \
   gnu/packages/gnutls.scm                      \
diff --git a/gnu/packages/gnugo.scm b/gnu/packages/gnugo.scm
new file mode 100644
index 0000000..d0273b1
--- /dev/null
+++ b/gnu/packages/gnugo.scm
@@ -0,0 +1,44 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2015 David Hashe <address@hidden>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages gnugo)
+  #:use-module (guix packages)
+  #:use-module (guix download)
+  #:use-module (guix build-system gnu)
+  #:use-module (guix licenses)
+  #:use-module (gnu packages)
+  #:use-module (gnu packages readline)
+  #:use-module (gnu packages texinfo))
+
+(define-public gnugo
+  (package
+    (name "gnugo")
+    (version "3.8")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnu/gnugo/gnugo-" version
+                                  ".tar.gz"))
+              (sha256
+                (base32 
"0wkahvqpzq6lzl5r49a4sd4p52frdmphnqsfdv7gdp24bykdfs6s"))))
+    (build-system gnu-build-system)
+    (inputs `(("readline" , readline)
+              ("texinfo", texinfo)))
+    (synopsis "Go game")
+    (description "GNU Go is a program that plays the game of Go, in which 
players place stones on a grid to form territory or capture other stones.  
While it can be played directly from the terminal, rendered in ASCII 
characters, it is also possible to play GNU Go with 3rd party graphical 
interfaces or even in Emacs.  It supports the standard game storage format 
(SGF, Smart Game Format) and inter-process communication format (GMP, Go Modem 
Protocol)")
+    (home-page "http://www.gnu.org/software/gnugo/";)
+    (license gpl3+)))
-- 
1.9.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]