From 453365bcf77cd2fa21cc9794f678cf7e333ae9fe Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Tue, 18 Jun 2019 18:11:24 +0200 Subject: [PATCH] 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 bf3ab94e68..304ef45024 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -7254,6 +7254,26 @@ (define-public harmonist 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")