unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sebastian Gibb via Guix-patches via <guix-patches@gnu.org>
To: 47730@debbugs.gnu.org
Cc: Sebastian Gibb <mail@sebastiangibb.de>
Subject: [bug#47730] [PATCH 4/4] gnu: Add watson.
Date: Thu, 15 Apr 2021 15:57:57 +0200	[thread overview]
Message-ID: <20210415135757.16173-1-mail@sebastiangibb.de> (raw)
In-Reply-To: <20210412154600.10122-1-mail@sebastiangibb.de>

* gnu/packages/time.scm (watson): New variable.
---
Dear Maxime,

thanks for your review.

I removed the #t and the newline in the snyopsis as you suggested.

 gnu/packages/time.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm
index dfade604a3..ab9e66285f 100644
--- a/gnu/packages/time.scm
+++ b/gnu/packages/time.scm
@@ -41,6 +41,8 @@
   #:use-module (gnu packages golang)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages python-check)
+  #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages terminals)
   #:use-module (gnu packages textutils)
@@ -540,3 +542,40 @@ calls.")
 from a starting point you provide.  The user can pause and resume the
 countdown from the text user interface.")
     (license expat)))
+
+(define-public watson
+  (package
+    (name "watson")
+    (version "2.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/tailordev/watson")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1yxqjirv7cpg4hqj4l3a53p3p3kl82bcx6drgvl9v849vcc3l7s0"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases (modify-phases %standard-phases
+                  (replace 'check
+                    (lambda _
+                      (invoke "pytest"))))))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-pytest-datafiles" ,python-pytest-datafiles)
+       ("python-pytest-mock" ,python-pytest-mock)))
+    (inputs
+     `(("python-arrow" ,python-arrow)
+       ("python-click" ,python-click)
+       ("python-click-didyoumean" ,python-click-didyoumean)
+       ("python-colorama" ,python-colorama)
+       ("python-requests" ,python-requests)))
+    (home-page "https://tailordev.github.io/Watson/")
+    (synopsis "Command-line time tracker")
+    (description
+     "Watson is command-line interface to manage your time.  It supports
+     projects, tagging and reports.")
+    (license expat)))
-- 
2.31.1





      parent reply	other threads:[~2021-04-15 13:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-12 15:45 [bug#47730] [PATCH 0/4] gnu: add watson Sebastian Gibb via Guix-patches via
2021-04-12 15:48 ` [bug#47730] [PATCH 1/4] gnu: python-arrow: Update to 1.0.3 Sebastian Gibb via Guix-patches via
2021-04-12 15:48   ` [bug#47730] [PATCH 2/4] gnu: Add python-click-didyoumean Sebastian Gibb via Guix-patches via
2021-04-12 15:48   ` [bug#47730] [PATCH 3/4] gnu: Add python-pytest-datafiles Sebastian Gibb via Guix-patches via
2021-04-12 15:48   ` [bug#47730] [PATCH 4/4] gnu: Add watson Sebastian Gibb via Guix-patches via
2021-04-12 19:42     ` Maxime Devos
2021-04-15 13:57 ` Sebastian Gibb via Guix-patches via [this message]

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210415135757.16173-1-mail@sebastiangibb.de \
    --to=guix-patches@gnu.org \
    --cc=47730@debbugs.gnu.org \
    --cc=mail@sebastiangibb.de \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).