From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Hashe Subject: [PATCH] gnu: Add gnugo. Date: Thu, 19 Feb 2015 07:57:21 -0600 Message-ID: <1424354241-31310-1-git-send-email-david.hashe@dhashe.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YORcF-0001k8-NX for guix-devel@gnu.org; Thu, 19 Feb 2015 08:58:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YORcC-00020P-8G for guix-devel@gnu.org; Thu, 19 Feb 2015 08:58:07 -0500 Received: from mail-ob0-x235.google.com ([2607:f8b0:4003:c01::235]:50588) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YORcC-00020C-3g for guix-devel@gnu.org; Thu, 19 Feb 2015 08:58:04 -0500 Received: by mail-ob0-f181.google.com with SMTP id vb8so14339509obc.12 for ; Thu, 19 Feb 2015 05:58:03 -0800 (PST) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --- 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 +;;; +;;; 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 . + +(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