From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul van der Walt Subject: [PATCH 21/21] gnu: Add raincat platform game. Date: Fri, 16 Oct 2015 15:12:05 +0200 Message-ID: <1445001125-20534-21-git-send-email-paul@denknerd.org> References: <1445001125-20534-1-git-send-email-paul@denknerd.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35052) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn4oG-0004u7-MO for guix-devel@gnu.org; Fri, 16 Oct 2015 09:12:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zn4oA-0002h4-OT for guix-devel@gnu.org; Fri, 16 Oct 2015 09:12:36 -0400 Received: from mx01.mykolab.com ([95.128.36.1]:63913 helo=mx-out01.mykolab.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn4oA-0002gS-Ej for guix-devel@gnu.org; Fri, 16 Oct 2015 09:12:30 -0400 Received: from mx08.mykolab.com (unknown [10.20.7.48]) by mx-out01.mykolab.com (Postfix) with ESMTPS id 69C6963D64 for ; Fri, 16 Oct 2015 15:12:28 +0200 (CEST) In-Reply-To: <1445001125-20534-1-git-send-email-paul@denknerd.org> 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/packages/games.scm (raincat): New variable. --- gnu/packages/games.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index dfaf838..1b1cda6 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -12,6 +12,7 @@ ;;; Copyright =C2=A9 2015 Christopher Allan Webber ;;; Copyright =C2=A9 2015 Ricardo Wurmus ;;; Copyright =C2=A9 2015 Alex Kost +;;; Copyright =C2=A9 2015 Paul van der Walt ;;; ;;; This file is part of GNU Guix. ;;; @@ -49,6 +50,7 @@ #:use-module (gnu packages guile) #:use-module (gnu packages libcanberra) #:use-module (gnu packages libunwind) + #:use-module (gnu packages haskell) #:use-module (gnu packages mp3) #:use-module (gnu packages image) #:use-module (gnu packages ncurses) @@ -78,6 +80,7 @@ #:use-module (gnu packages fribidi) #:use-module (guix build-system trivial) #:use-module (guix build-system gnu) + #:use-module (guix build-system haskell) #:use-module (guix build-system cmake) #:use-module (guix build-system trivial)) =20 @@ -1094,6 +1097,41 @@ on the screen and keyboard to display letters.") ;; Most files under gpl2+ or gpl3+, but eat.wav under gpl3 (license license:gpl3))) =20 +(define-public raincat + (package + (name "raincat") + (version "1.1.1.3") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/Raincat/Raincat-" + version + ".tar.gz")) + (sha256 + (base32 + "1aalh68h6799mv4vyg30zpskl5jkn6x2j1jza7p4lrflyifxzar8")))) + (build-system haskell-build-system) + (inputs + `(("ghc-extensible-exceptions" ,ghc-extensible-exceptions) + ("ghc-mtl" ,ghc-mtl) + ("ghc-random" ,ghc-random) + ("ghc-glut" ,ghc-glut) + ("ghc-opengl" ,ghc-opengl) + ("ghc-sdl" ,ghc-sdl) + ("ghc-sdl-image" ,ghc-sdl-image) + ("ghc-sdl-mixer" ,ghc-sdl-mixer))) + (home-page "http://raincat.bysusanlin.com/") + (synopsis + "Puzzle game written in Haskell with a cat in lead role") + (description + "Project Raincat is a game developed by Carnegie Mellon students th= rough +GCS during the Fall 2008 semester. Raincat features game play inspired = from +classics Lemmings and The Incredible Machine. The project proved to be = an +excellent learning experience for the programmers. Everything is progra= mmed +in Haskell.") + (license license:bsd-3))) + (define-public manaplus (package (name "manaplus") --=20 2.6.1