From db8ad017c4fd86c92c5b4b08c856fdbc2e520204 Mon Sep 17 00:00:00 2001 From: Gabriel Santos Date: Sun, 13 Jul 2025 09:02:28 -0300 Subject: gnu: Add asciiquarium. * gnu/packages/games.scm (asciiquarium): New variable. Change-Id: Iac35cffa136e54812d5e322e9b20c5d6cb30b546 Signed-off-by: Andreas Enge --- gnu/packages/games.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index fc3899bce19..7dd0eb89a50 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -93,6 +93,7 @@ ;;; Copyright © 2025 Nigko Yerden ;;; Copyright © 2025 Adrien 'neox' Bourmault ;;; Copyright © 2025 Ada Stevenson +;;; Copyright © 2025 Gabriel Santos ;;; ;;; 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") -- cgit v1.3