Subject: [PATCH v2] gnu: Add terminaltexteffects.

From: Andrew Wong <[email-masked]>
Date: Sun, 5 Jan 2025 04:33:49 -0500

* gnu/packages/toys.scm (terminaltexteffects): New variable.

Change-Id: I3b8ec681445c2d787c275788b90ce29c2f5053cf
---
 gnu/packages/toys.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/toys.scm b/gnu/packages/toys.scm
index 359cdbcbe1..b8c77490d5 100644
--- a/gnu/packages/toys.scm
+++ b/gnu/packages/toys.scm
@@ -37,11 +37,14 @@ (define-module (gnu packages toys)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pretty-print)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system copy)
   #:use-module (guix build-system meson)
+  #:use-module (guix build-system pyproject)
+  #:use-module (guix build-system python)
   #:use-module (guix download)
   #:use-module (guix gexp)
   #:use-module (guix git-download)
@@ -49,6 +52,35 @@ (define-module (gnu packages toys)
   #:use-module (guix packages)
   #:use-module (guix utils))
 
+(define-public terminaltexteffects
+  (package
+    (name "terminaltexteffects")
+    (version "0.11.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "terminaltexteffects" version))
+       (sha256
+        (base32 "1cnw2f0pwsbvva9pbiwjxc8aygvsnfjlpbhrdflh8fh0p9rwnc0l"))))
+    (build-system pyproject-build-system)
+    (arguments
+     `(#:tests? #f))
+    (inputs (list poetry))
+    (home-page "https://github.com/ChrisBuilds/terminaltexteffects")
+    (synopsis "Terminal visual effects engine and demo toy")
+    (description
+     "TerminalTextEffects (TTE) is a terminal visual effects engine.  TTE can
+be installed as a system application to produce effects in your
+terminal, or as a Python library to enable effects within your Python
+scripts/applications.  TTE includes a growing library of built-in
+effects which showcase the engine's features, including complex
+character movement via Paths, Waypoints, and motion easing, with
+support for quadratic/cubic bezier curves, complex animations via
+Scenes with symbol/color changes, layers, easing, and Path synced
+progression, and variable stop/step color gradient generation.  Runs
+inline, preserving terminal state and workflow.")
+    (license license:expat)))
+
 (define-public daikichi
   (package
     (name "daikichi")

base-commit: e383e8e34097b064d4baa4207673c6ba30617347
-- 
2.47.1