[bug#75082,v2] gnu: Add terminaltexteffects.

Message ID 4357c7b7dc338db67ecfdea97eb63342b55271da.1736069629.git.wongandj@icloud.com
State New
Headers
Series [bug#75082,v2] gnu: Add terminaltexteffects. |

Commit Message

Andrew Wong Jan. 5, 2025, 9:33 a.m. UTC
  * gnu/packages/toys.scm (terminaltexteffects): New variable.

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


base-commit: e383e8e34097b064d4baa4207673c6ba30617347
  

Patch

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")