Subject: [PATCH] gnu: Add emacs-roguel-ike.
From: Adam Kandur <[email-masked]>
To: Guix Patches <[email-masked]>
Date: Sat, 26 Dec 2020 01:06:15 +0100 (CET)
List-Id: <debbugs-submit.debbugs.gnu.org>

From ccd653b36d9f747cff7e78e14dc672052b26ea72 Mon Sep 17 00:00:00 2001
From: Adam Kandur <[email-masked]>
Date: Sat, 26 Dec 2020 03:03:38 +0300
Subject: [PATCH] gnu: Add emacs-roguel-ike.

* gnu/packages/emacs-xyz.scm (emacs-roguel-ike): New variable.
---
 gnu/packages/emacs-xyz.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0822bfdd29..fcf9550004 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4298,6 +4298,39 @@ files with features such as syntax highlighting, comments, finding keywords,
 completing keywords and smart indentation.")
       (license license:gpl3+))))
 
+(define-public emacs-roguel-ike
+  ;; tagged branch is outdated.
+  (let ((revision "0")
+        (commit "706dcb0687e8016d7d776f9d9e5ace9fdbbca43c"))
+    (package
+      (name "emacs-roguel-ike")
+      (version (git-version "0.1.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+           (url "https://github.com/stevenremot/roguel-ike")
+           (commit "master")))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0rgv4y9aa5cc2ddz3y5z8d22xmr8kf5c60h0r3g8h91jmcw3rb4z"))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+       `(("emacs-popup" ,emacs-popup)))
+      (arguments
+       `(#:include '("\\.el$")
+         #:phases
+         (modify-phases %standard-phases
+           (add-before 'check 'set-test-environment
+             (lambda _
+               (setenv "HOME" "/tmp")
+               #t)))))
+      (home-page "https://github.com/stevenremot/roguel-ike.git")
+      (synopsis "Coffee-break roguelike for Emacs")
+      (description "The goal of this project was to develop a coffee-break roguelike for Emacs.  
+The complete game would allow the player to create various characters and to make them fulfill challenges like arena fight and short dungeon explorations.")
+      (license license:gpl3))))
+
 (define-public emacs-rspec
   (let ((commit "66ea7cc9699d6edc6115daa024818adbd85efc20")
         (revision "1"))
-- 
2.29.2