diff options
author | Gabriel Santos <gabrielsantosdesouza@disroot.org> | 2025-07-13 09:02:28 -0300 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-07-13 19:32:07 +0200 |
commit | db8ad017c4fd86c92c5b4b08c856fdbc2e520204 (patch) | |
tree | c457b8b2920b4f3b0299444efe4913c059ffa583 | |
parent | fdbab7cdb715c38ab5e5ff6781bc2a19f6024644 (diff) |
gnu: Add asciiquarium.
* gnu/packages/games.scm (asciiquarium): New variable.
Change-Id: Iac35cffa136e54812d5e322e9b20c5d6cb30b546
Signed-off-by: Andreas Enge <andreas@enge.fr>
-rw-r--r-- | gnu/packages/games.scm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index fc3899bce1..7dd0eb89a5 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -93,6 +93,7 @@ ;;; Copyright © 2025 Nigko Yerden <nigko.yerden@gmail.com> ;;; Copyright © 2025 Adrien 'neox' Bourmault <neox@gnu.org> ;;; Copyright © 2025 Ada Stevenson <adanskana@gmail.com> +;;; Copyright © 2025 Gabriel Santos <gabrielsantosdesouza@disroot.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -7409,6 +7410,43 @@ it will apply the hollywood effect, initially showing encrypted data, then starting a decryption sequence to reveal the original plaintext characters.") (license license:expat))) +(define-public asciiquarium + (package + (name "asciiquarium") + (version "1.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://robobunny.com/projects/asciiquarium/asciiquarium_" + version ".tar.gz")) + (sha256 + (base32 "0qfkr5b7sxzi973nh0h84blz2crvmf28jkkgaj3mxrr56mhwc20v")))) + (build-system copy-build-system) + (inputs (list bash-minimal perl perl-curses perl-term-animation)) + (arguments + (list + #:install-plan + #~'(("asciiquarium" "bin/") + ("README" "share/doc/asciiquarium/")) + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'chmod + (lambda _ + (chmod (string-append #$output "/bin/asciiquarium") #o755))) + (add-after 'chmod 'wrap-perl-bin + (lambda _ + (wrap-program (string-append #$output "/bin/asciiquarium") + `("PERL5LIB" ":" prefix + (,(getenv "PERL5LIB"))))))))) + (home-page "https://robobunny.com/projects/asciiquarium/html/") + (synopsis "ASCII aquarium for the terminal") + (license license:gpl2+) + (description + "The @code{asciiquarium} package renders a fullscreen animation of an +aquarium with various fish in the terminal, which can make for a nice +screensaver."))) + (define-public megaglest-data (package (name "megaglest-data") |