diff options
| author | Carlos Durán Domínguez <wurt@wurt.eu> | 2026-02-12 13:46:20 +0100 |
|---|---|---|
| committer | 宋文武 <iyzsong@member.fsf.org> | 2026-02-16 09:15:13 +0800 |
| commit | 7f203b24a2cb60c8482444220dae9c4ffbe8cbea (patch) | |
| tree | 238d050b00c52ef7f63820b603f61f93c29eef1e /gnu | |
| parent | dd27bce9d0786a7f5a909d0b19be82ed5744bb47 (diff) | |
gnu: Add boohu and boohu-tk.
* gnu/packages/games.scm (boohu, boohu-tk): New variables.
(boohu-tk): Inherit from boohu.
Closes: guix/guix#6347
Change-Id: I6fc3a7176750a0d3d5f82e7f3794d7a5eaca083e
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/games.scm | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 8a2aa8ffef1..c035fa96ff2 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -790,6 +790,61 @@ canyons and wait for the long I-shaped block to clear four rows at a time.") "This package provides Tcl/Tk Go bindings, the API is a bit Tk-oriented.") (license license:expat))) +(define-public boohu + (package + (name "boohu") + (version "0.14.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://codeberg.org/anaseto/boohu") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0xh8b4fj2vd92ihh70rmmlq45ir0sb44g63blswfw96rb3jl3pk2")))) + (build-system go-build-system) + (arguments + (list + #:install-source? #f + #:import-path "codeberg.org/anaseto/boohu")) + (native-inputs (list go-codeberg-org-anaseto-gothic + go-codeberg-org-anaseto-gruid + go-github-com-gdamore-tcell-v2)) + (home-page "https://anaseto.codeberg.page/games/boohu") + (synopsis "Break Out Of Hareka's Underground, a roguelike game") + (description + "@acronym{Boohu, Break Out Of Hareka's Underground} is a roguelike game +mainly inspired from DCSS and its tavern, with some ideas from Brogue, but +aiming for very short games, almost no character building, and a simplified +inventory. + +@quotation +Every year, the elders send someone to collect medicinal simella plants in the +Underground. This year, the honor fell upon you, and so here you +are. According to the elders, deep in the Underground, a magical monolith will +lead you back to your village. Along the way, you will collect simellas, as +well as various items that will help you deal with monsters, which you may +fight or flee@dots{} +@end quotation") + (license license:expat))) + +(define-public boohu-tk + (package + (inherit boohu) + (name "boohu-tk") + (arguments + (substitute-keyword-arguments (package-arguments boohu) + ((#:tests? _ #t) #f) + ((#:build-flags _ #~()) + #~(list "--tags=tk")) + ((#:phases _ #~%standard-phases) + #~(modify-phases %standard-phases + (add-after 'install 'fix-name-collision + (lambda _ + (rename-file (string-append #$output "/bin/boohu") + (string-append #$output "/bin/boohu-tk")))))))))) + (define-public tetrinet (package (name "tetrinet") |
