summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCairn <cairn@pm.me>2022-08-24 18:06:51 +0000
committerGuix Patches Tester <>2022-08-24 19:18:26 +0100
commit2d9f23783a55fbea6c47c7a6b81dfa7fd8d666b7 (patch)
treed136b1412bf212079bc2225c9c57040c835330fb
parenteb80dca7376ae46b1eefc8cf38e2cf19fd24f373 (diff)
downloadguix-patches-2d9f23783a55fbea6c47c7a6b81dfa7fd8d666b7.tar
guix-patches-2d9f23783a55fbea6c47c7a6b81dfa7fd8d666b7.tar.gz
gnu: Add harmonist-sdl.
* gnu/packages/games.scm (harmonist-sdl): New variable.
-rw-r--r--gnu/packages/games.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 7f5d59cce1..6e8e695c02 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -73,6 +73,7 @@
;;; Copyright © 2022 zamfofex <zamfofex@twdb.moe>
;;; Copyright © 2022 Gabriel Arazas <foo.dogsquared@gmail.com>
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2022 Cairn <cairn@pm.me>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -9531,6 +9532,22 @@ the game avoids complex inventory management and character building, relying
on items and player adaptability for character progression.")
(license license:isc)))
+(define-public harmonist-sdl
+ (package
+ (inherit harmonist)
+ (name "harmonist-sdl")
+ (native-inputs
+ (modify-inputs (package-native-inputs harmonist)
+ (append pkg-config)))
+ (inputs
+ (modify-inputs (package-inputs harmonist)
+ (append go-github-com-anaseto-gruid-sdl)))
+ (arguments
+ (substitute-keyword-arguments (package-arguments harmonist)
+ ((#:build-flags flags ''())
+ `(append '("--tags" "sdl")
+ ,flags))))))
+
(define-public drascula
(package
(name "drascula")