From patchwork Wed Dec 25 08:26:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Wong X-Patchwork-Id: 35532 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B8D7E27BBE9; Wed, 25 Dec 2024 08:27:17 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A3F2B27BBE2 for ; Wed, 25 Dec 2024 08:27:15 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQMjR-0007wk-Pe; Wed, 25 Dec 2024 03:27:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tQMjQ-0007wc-0a for guix-patches@gnu.org; Wed, 25 Dec 2024 03:27:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tQMjP-00010U-Oj for guix-patches@gnu.org; Wed, 25 Dec 2024 03:27:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=ROz1lQbT7nlCDL6e/9DCO40C5JHoNzkfHWEgDLRTPaM=; b=SNceg7NGxE6jZ2qEBhIChvSQ83O7Oz++lc2tpqQoTXk0Xk45+JavuKWckMThfs0RvVl05Iog48S4eDK/7EEFBHDOSKrzTbL8eyFGz0V3XBFWOfeFuzgjCkkJEWac8K5wIa7iJm97whhM7utAzpGVmlyl5gaVRBuSXnELpnCHKzYtptO1eDiz1lotI+ANkdl/gZjV9txtHHkdxxWGF4df/fA/iUm75hYbvRE2C3aQ21GZI3kP5nQmuwiitsW8v83z507UvWys9ykd4JBukCCZfvDmAnn4RR4t0LAKpRSzMOftAxQBOCW8NT1Umgu3nhCKnOPE92r0txU4hnIit65Zrg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tQMjO-0006gr-IX for guix-patches@gnu.org; Wed, 25 Dec 2024 03:27:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75082] [PATCH] gnu: Add python-terminaltexteffects. Resent-From: Andrew Wong Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 25 Dec 2024 08:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75082 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75082@debbugs.gnu.org Cc: Andrew Wong X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173511520725676 (code B ref -1); Wed, 25 Dec 2024 08:27:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Dec 2024 08:26:47 +0000 Received: from localhost ([127.0.0.1]:36103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQMj9-0006g4-6M for submit@debbugs.gnu.org; Wed, 25 Dec 2024 03:26:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:39742) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQMj4-0006fo-41 for submit@debbugs.gnu.org; Wed, 25 Dec 2024 03:26:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tQMiy-0007oa-Ge for guix-patches@gnu.org; Wed, 25 Dec 2024 03:26:38 -0500 Received: from qs51p00im-qukt01071501.me.com ([17.57.155.4]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tQMiu-0000qN-R8 for guix-patches@gnu.org; Wed, 25 Dec 2024 03:26:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1735115191; bh=ROz1lQbT7nlCDL6e/9DCO40C5JHoNzkfHWEgDLRTPaM=; h=From:To:Subject:Date:Message-ID:MIME-Version:x-icloud-hme; b=b2YiuoqnMAlWasNbHdmIvCHata/hh32uHZ6y25Wssycwqz71NOZvAXSa/s8M6FYkS CW7WGiOzwqwDgUNL87HrqBpWZMYA4UiUztFYopG8wNX0tC0ZenQPq7q6OIBWsUSmYh hurtCAC5RaP+IiCxTWzmCpY3kMDBeA6Qks/JFrCLN7LZB7lrffdk2MfdsufmAi6tRW pdtBJBuM4n7zCFBocS8nqGSESw9Hph8wa4EIQHcj+cCYDkYIFbdFeISklk821FCZ9l y4ldvgrhVkso3Nn1znTWs1fMD8TVgMbLqdGF24xOZOmbCCd5AWrg3nMhPIN1o9BaJR EYBaDooK3IK0g== Received: from wongworks.lan (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01071501.me.com (Postfix) with ESMTPSA id 925CD1C40136; Wed, 25 Dec 2024 08:26:30 +0000 (UTC) Date: Wed, 25 Dec 2024 03:26:02 -0500 Message-ID: <20241225082614.11711-1-wongandj@icloud.com> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 X-Proofpoint-GUID: N_nOqWvgtLxJfsRZmx3Qypgl3xoKgIVS X-Proofpoint-ORIG-GUID: N_nOqWvgtLxJfsRZmx3Qypgl3xoKgIVS X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2024-12-25_03,2024-12-24_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 clxscore=1015 mlxscore=0 spamscore=0 mlxlogscore=999 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2412250073 X-Apple-Remote-Links: v=1;h=KCk=;charset=UTF-8 Received-SPF: pass client-ip=17.57.155.4; envelope-from=wongandj@icloud.com; helo=qs51p00im-qukt01071501.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Andrew Wong X-ACL-Warn: , Andrew Wong via Guix-patches X-Patchwork-Original-From: Andrew Wong via Guix-patches via From: Andrew Wong Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Change-Id: I6ef522fe5c59b4da4e604fe6473e42e5d2b476d0 --- gnu/packages/toys.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/toys.scm b/gnu/packages/toys.scm index 359cdbcbe1..6da211046f 100644 --- a/gnu/packages/toys.scm +++ b/gnu/packages/toys.scm @@ -42,6 +42,9 @@ (define-module (gnu packages toys) #:use-module (guix build-system gnu) #:use-module (guix build-system copy) #:use-module (guix build-system meson) + #:use-module (guix build-system python) + #:use-module (guix build-system pyproject) + #:use-module (gnu packages python-xyz) #:use-module (guix download) #:use-module (guix gexp) #:use-module (guix git-download) @@ -49,6 +52,36 @@ (define-module (gnu packages toys) #:use-module (guix packages) #:use-module (guix utils)) +(define-public python-terminaltexteffects + (package + (name "python-terminaltexteffects") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "terminaltexteffects" version)) + (sha256 + (base32 "1cnw2f0pwsbvva9pbiwjxc8aygvsnfjlpbhrdflh8fh0p9rwnc0l")))) + (build-system pyproject-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (delete 'check)))) + (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")