[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: gnu: Add harmonist-tk.
From: |
guix-commits |
Subject: |
03/03: gnu: Add harmonist-tk. |
Date: |
Sat, 22 Jun 2019 11:15:12 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 453365bcf77cd2fa21cc9794f678cf7e333ae9fe
Author: Julien Lepiller <address@hidden>
Date: Tue Jun 18 18:11:24 2019 +0200
gnu: Add harmonist-tk.
* gnu/packages/games.scm (harmonist-tk): New variable.
---
gnu/packages/games.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index bf3ab94..304ef45 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -7254,6 +7254,26 @@ the game avoids complex inventory management and
character building, relying
on items and player adaptability for character progression.")
(license license:isc)))
+(define-public harmonist-tk
+ (package
+ (inherit harmonist)
+ (name "harmonist-tk")
+ (arguments
+ (append
+ (package-arguments harmonist)
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'build
+ (lambda _
+ (invoke "go" "install" "-v" "-x" "--tags" "tk"
+ "git.tuxfamily.org/harmonist/harmonist")))
+ (replace 'check
+ (lambda _
+ (invoke "go" "test" "--tags" "tk"
+ "git.tuxfamily.org/harmonist/harmonist")))))))
+ (inputs
+ `(("go-github.com-nsf-gothic" ,go-github.com-nsf-gothic)))))
+
(define-public drascula
(package
(name "drascula")