From: Ryan Prior via Guix-patches via <guix-patches@gnu.org>
To: 47148@debbugs.gnu.org
Subject: [bug#47148] [PATCH] gnu: Add countdown.
Date: Mon, 15 Mar 2021 00:41:04 +0000 [thread overview]
Message-ID: <20210315004059.1037-1-rprior@protonmail.com> (raw)
* gnu/packages/time.scm (countdown): New variable.
Also adds copyright, adds necessary module dependencies, and sorts them alphabetically.
---
gnu/packages/time.scm | 48 +++++++++++++++++++++++++++++++++++--------
1 file changed, 40 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm
index 73e7f04834..20ce76d8d0 100644
--- a/gnu/packages/time.scm
+++ b/gnu/packages/time.scm
@@ -18,6 +18,7 @@
;;; Copyright © 2019 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2020 Lars-Dominik Braun <ldb@leibniz-psychology.org>
;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
+;;; Copyright © 2021 Ryan Prior <rprior@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -35,18 +36,22 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages time)
- #:use-module (guix licenses)
- #:use-module (guix packages)
- #:use-module (guix download)
- #:use-module (guix git-download)
- #:use-module (guix build-system gnu)
- #:use-module (guix build-system python)
- #:use-module (gnu packages)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
+ #:use-module (gnu packages golang)
#:use-module (gnu packages perl)
#:use-module (gnu packages python)
- #:use-module (gnu packages python-xyz))
+ #:use-module (gnu packages python-xyz)
+ #:use-module (gnu packages terminals)
+ #:use-module (gnu packages textutils)
+ #:use-module (gnu packages)
+ #:use-module (guix build-system gnu)
+ #:use-module (guix build-system go)
+ #:use-module (guix build-system python)
+ #:use-module (guix download)
+ #:use-module (guix git-download)
+ #:use-module (guix licenses)
+ #:use-module (guix packages))
(define-public time
(package
@@ -510,3 +515,30 @@ datetime type.")
modifies the @code{time}, @code{gettimeofday} and @code{clock_gettime} system
calls.")
(license gpl2)))
+
+(define-public countdown
+ (package
+ (name "countdown")
+ (version "1.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/antonmedv/countdown")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0pdaw1krr0bsl4amhwx03v2b02iznvwvqn7af5zp4fkzjaj14cdw"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/antonmedv/countdown"))
+ (native-inputs
+ `(("runewidth" ,go-github.com-mattn-go-runewidth)
+ ("termbox" ,go-github.com-nsf-termbox-go)))
+ (home-page "https://github.com/antonmedv/countdown")
+ (synopsis "Counts to zero with a text user interface")
+ (description
+ "Countdown 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.")
+ (license expat)))
--
2.30.2
next reply other threads:[~2021-03-15 0:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-15 0:41 Ryan Prior via Guix-patches via [this message]
2021-03-18 18:42 ` [bug#47148] [PATCH] gnu: Add countdown Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210315004059.1037-1-rprior@protonmail.com \
--to=guix-patches@gnu.org \
--cc=47148@debbugs.gnu.org \
--cc=rprior@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.