summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Santos <gabrielsantosdesouza@disroot.org>2025-07-13 09:00:58 -0300
committerAndreas Enge <andreas@enge.fr>2025-07-13 19:29:43 +0200
commitfdbab7cdb715c38ab5e5ff6781bc2a19f6024644 (patch)
tree2a3f32d445cf2bb63aa21b8e134781710f72f39b
parent89d73c352a847e538070e9080efc004d3bc9304a (diff)
gnu: Add perl-term-animation.
* gnu/packages/perl.scm (perl-term-animation): New variable. Change-Id: I6975a64c682abf983c01298a23a37d8491dcdd69 Signed-off-by: Andreas Enge <andreas@enge.fr>
-rw-r--r--gnu/packages/perl.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 8991a9fa61..02c6834ad0 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -41,6 +41,7 @@
;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu>
;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
;;; Copyright © 2020, 2023 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
+;;; Copyright © 2025 Gabriel Santos <gabrielsantosdesouza@disroot.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -11924,6 +11925,30 @@ situations, where you may need to upgrade to the full feature set in the
future, or if you want the retain the familiarity of TT-style templates.")
(license license:perl-license)))
+(define-public perl-term-animation
+ (package
+ (name "perl-term-animation")
+ (version "2.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/K/KB/KBAUCOM/"
+ "Term-Animation-" version ".tar.gz"))
+ (sha256
+ (base32 "0idhhk89jg5z0h1klby7jwpdlap0pcn5wzyf3n5plrcv9wnkqp3x"))))
+ (build-system perl-build-system)
+ (native-inputs (list perl-curses))
+ (home-page "https://metacpan.org/dist/Term-Animation")
+ (synopsis "ASCII sprite animation framework")
+ (description
+ "The @code{Term::Animation} Perl module provides a framework to
+produce sprite animations using ASCII art. Each ASCII 'sprite' is given
+one or more frames, and placed into the animation as an 'animation
+entity'. An animation entity can have a callback routine that controls
+the position and frame of the entity. The module can also do collision detection
+between entities.")
+ (license (package-license perl))))
+
(define-public perl-term-ansicolor
(package
(name "perl-term-ansicolor")