From: "ng0" <contact.ng0@cryptolab.net>
To: Arun Isaac <arunisaac@systemreboot.net>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add freeciv.
Date: Wed, 01 Feb 2017 16:45:24 +0000 [thread overview]
Message-ID: <8737fxeu6z.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <20170201141940.2322-1-arunisaac@systemreboot.net>
Arun Isaac writes:
> * gnu/packages/games.scm (freeciv): New variable.
Nice :)
> ---
> gnu/packages/games.scm | 31 +++++++++++++++++++++++++++++++
> 1 file changed, 31 insertions(+)
>
> diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
> index 0edd585fa..81588aabb 100644
> --- a/gnu/packages/games.scm
> +++ b/gnu/packages/games.scm
> @@ -104,6 +104,7 @@
> #:use-module (gnu packages xdisorg)
> #:use-module (gnu packages tls)
> #:use-module (gnu packages pcre)
> + #:use-module (gnu packages cyrus-sasl)
> #:use-module (guix build-system gnu)
> #:use-module (guix build-system haskell)
> #:use-module (guix build-system python)
> @@ -3071,3 +3072,33 @@ symbols, the game needs graphics to render the non-euclidean world.")
> for Un*x systems with X11.")
> (home-page "http://olofson.net/kobodl/")
> (license license:gpl2+)))
> +
> +(define-public freeciv
> + (package
> + (name "freeciv")
> + (version "2.5.6")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append
> + "http://download.gna.org/freeciv/stable/freeciv-"
> + version ".tar.bz2"))
I'd write it like this:
(uri (string-append "http://download.gna.org/freeciv/"
"stable/freeciv-" version ".tar.bz2"))
but that's just cosmetic.
> + (sha256
> + (base32
> + "16wrnsx5rmbz6rjs03bhy0vn20i6n6g73lx7fjpai98ixhzc5bfg"))))
> + (build-system gnu-build-system)
> + (inputs
> + `(("curl" ,curl)
> + ("cyrus-sasl" ,cyrus-sasl)
> + ("gtk+" ,gtk+)
> + ("sdl-mixer" ,sdl-mixer)
> + ("zlib" ,zlib)))
> + (native-inputs
> + `(("pkg-config" ,pkg-config)))
> + (home-page "http://www.freeciv.org/")
> + (synopsis "Turn based empire building strategy game")
> + (description "Freeciv is a turn based empire building strategy game
> +inspired by the history of human civilization. The game commences in
> +prehistory and your mission is to lead your tribe from the Stone Age
> +to the Space Age.")
> + (license license:gpl2+)))
The rest looks good to me.
I don't really played very long, but the game doesn't segfault,
so I suppose it works as intended.
--
ng0 . https://www.inventati.org/patternsinthechaos/
next prev parent reply other threads:[~2017-02-01 16:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-01 14:19 [PATCH] gnu: Add freeciv Arun Isaac
2017-02-01 16:45 ` ng0 [this message]
2017-02-01 17:13 ` Arun Isaac
2017-02-01 17:13 ` Arun Isaac
2017-02-01 19:56 ` Kei Kebreau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8737fxeu6z.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me \
--to=contact.ng0@cryptolab.net \
--cc=arunisaac@systemreboot.net \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.