From 403097d26dba882fef43947435ecb97ff04586ed Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 31 Jul 2017 15:26:06 +0300 Subject: [PATCH] gnu: Add motti. * gnu/packages/motti.scm (motti): New variable. --- gnu/local.mk | 1 + gnu/packages/motti.scm | 45 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 gnu/packages/motti.scm diff --git a/gnu/local.mk b/gnu/local.mk index 9482d4bb53..323866a582 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -272,6 +272,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/mingw.scm \ %D%/packages/microcom.scm \ %D%/packages/moe.scm \ + %D%/packages/motti.scm \ %D%/packages/monitoring.scm \ %D%/packages/mono.scm \ %D%/packages/moreutils.scm \ diff --git a/gnu/packages/motti.scm b/gnu/packages/motti.scm new file mode 100644 index 0000000000..59b195802b --- /dev/null +++ b/gnu/packages/motti.scm @@ -0,0 +1,45 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2017 Efraim Flashner +;;; +;;; 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 motti) + #:use-module (gnu packages) + #:use-module (guix build-system gnu) + #:use-module (guix licenses) + #:use-module (guix packages) + #:use-module (guix download)) + +(define-public motti + (package + (name "motti") + (version "3.1.1") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://gnu/motti/motti-" version ".tar.gz")) + (sha256 + (base32 + "0ag4gpxy42l30660b4f2lrp52xi5sik9s6frr7jfxqxjsf29lbb3")))) + (build-system gnu-build-system) + (synopsis "Multiplayer strategy game") + (description + "GNU Motti is a simple multiplayer strategy game played in a terminal. +The objective of the game is to conquer enemy capitals by occupying and +encircling territory.") + (home-page "https://www.gnu.org/software/motti") + (license gpl3+)))