From patchwork Sat Jul 29 21:45:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhiseck Paira X-Patchwork-Id: 52404 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 3D7B327BBE9; Sat, 29 Jul 2023 23:10:40 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 1058727BBEA for ; Sat, 29 Jul 2023 23:10:39 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qPryn-0003MN-Ds; Sat, 29 Jul 2023 18:00:05 -0400 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 1qPryl-0003Lu-Ag for guix-patches@gnu.org; Sat, 29 Jul 2023 18:00:03 -0400 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 1qPryk-0002Km-VP for guix-patches@gnu.org; Sat, 29 Jul 2023 18:00:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qPryk-0004Rr-JK for guix-patches@gnu.org; Sat, 29 Jul 2023 18:00:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64940] [PATCH] gnu: Add termdown Resent-From: Abhiseck Paira Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 29 Jul 2023 22:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64940 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64940@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169066796617026 (code B ref -1); Sat, 29 Jul 2023 22:00:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Jul 2023 21:59:26 +0000 Received: from localhost ([127.0.0.1]:49076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qPry9-0004QX-N5 for submit@debbugs.gnu.org; Sat, 29 Jul 2023 17:59:26 -0400 Received: from lists.gnu.org ([2001:470:142::17]:46112) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qPry8-0004QJ-1O for submit@debbugs.gnu.org; Sat, 29 Jul 2023 17:59:25 -0400 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 1qPrxy-0002xN-AS for guix-patches@gnu.org; Sat, 29 Jul 2023 17:59:15 -0400 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qPrxw-0002C8-EO for guix-patches@gnu.org; Sat, 29 Jul 2023 17:59:14 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 8D3BB40603 for ; Sat, 29 Jul 2023 23:59:09 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HeknCe9VV78v for ; Sat, 29 Jul 2023 23:59:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1690667948; bh=pFGnMQH4J9lw19TTBRN7o7ugAU7Bq8mYqCXbNQQvUCY=; h=From:To:Subject:Date; b=P6ypEJxdM6LCUz84LvHr9KHLKMZD8hdYCuAhKDlLRDd7rLIwS25obhSTRliEQ8i+P HdeYzDKMRulgegkFLQ28xRJ7o9HB8ulcE7WOa1C4nuX7i+ZorTFaynndPQRnKNCj4+ X+lr3lH6rU2B+RXbnbgb0chW9qs4IzGYZ/frN66672MqdhrCiPGyx7OhXHuddW9dmJ DBcIIpC2MEIqQuxP7Rl9LdS8mz8hpKRSxTp2viEr8lfrflXrQNIR8Q7pf3GMSrMIgc 1eoFBqcnrv9rCd7UEK+inaFMJ4rGqxyiQgJiuVBbwwEHSf90Q4EIOqbNQn0aN+aAWW kzvjqaChpabEQ== Date: Sun, 30 Jul 2023 03:15:03 +0530 Message-ID: <68d606b92416b5501da866d5840112be5eae2169.1690667339.git.abhiseckpaira@disroot.org> MIME-Version: 1.0 Received-SPF: pass client-ip=178.21.23.139; envelope-from=abhiseckpaira@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: Abhiseck Paira X-ACL-Warn: , Abhiseck Paira via Guix-patches X-Patchwork-Original-From: Abhiseck Paira via Guix-patches via From: Abhiseck Paira 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 * gnu/packages/time.scm (termdown): New variable. --- gnu/packages/time.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) base-commit: ecdcafc007e3a06647e02e2077e0ff352b38c06f diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index 5c8f65a1e6..6d0c4c5aa1 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -606,6 +606,31 @@ (define-public tz TUI program that displays time across a few time zones of your choosing.") (license gpl3+))) +(define-public termdown + (package + (name "termdown") + (version "1.18.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "termdown" version)) + (sha256 + (base32 + "07nxsqpwnpr9jkvif2ngjlcq05z0ldnmqxd15d1l593lzmxdyrci")))) + (build-system pyproject-build-system) + (propagated-inputs + (list python-click + python-pyfiglet + python-dateutil)) + (home-page "https://github.com/trehn/termdown") + (synopsis "Countdown timer for your terminal") + (description + "Termdown provides a fancy text display while it counts down to zero from +a starting point you provide. The user can pause and resume the countdown +from the text user interface. It can also be used in stop watch mode which +counts forward or for just showing the current time.") + (license gpl3))) + (define-public countdown (package (name "countdown")