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>
This commit is contained in:
Gabriel Santos 2025-07-13 09:00:58 -03:00 committed by Andreas Enge
parent 89d73c352a
commit fdbab7cdb7
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -41,6 +41,7 @@
;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu> ;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu>
;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr> ;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
;;; Copyright © 2020, 2023 Tim Gesthuizen <tim.gesthuizen@yahoo.de> ;;; Copyright © 2020, 2023 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
;;; Copyright © 2025 Gabriel Santos <gabrielsantosdesouza@disroot.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; 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.") future, or if you want the retain the familiarity of TT-style templates.")
(license license:perl-license))) (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 (define-public perl-term-ansicolor
(package (package
(name "perl-term-ansicolor") (name "perl-term-ansicolor")