GNU bug report logs - #60871
[PATCH] gnu: add timewarrior

Previous Next

Package: guix-patches;

Reported by: Trevor Richards <trev <at> trevdev.ca>

Date: Tue, 17 Jan 2023 04:18:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#60871: closed ([PATCH] gnu: add timewarrior)
Date: Sat, 28 Jan 2023 10:06:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 28 Jan 2023 11:05:41 +0100
with message-id <87ilgrj7nu.fsf <at> nicolasgoaziou.fr>
and subject line Re: [bug#60871] [PATCH v2] gnu: add timewarrior
has caused the debbugs.gnu.org bug report #60871,
regarding [PATCH] gnu: add timewarrior
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
60871: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60871
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Trevor Richards <trev <at> trevdev.ca>
To: guix-patches <at> gnu.org
Cc: Trevor Richards <trev <at> trevdev.ca>
Subject: [PATCH] gnu: add timewarrior
Date: Mon, 16 Jan 2023 20:17:02 -0800
Signed-off-by: Trevor Richards <trev <at> trevdev.ca>
---
 gnu/packages/task-management.scm | 33 ++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/task-management.scm b/gnu/packages/task-management.scm
index c4f7f99049..d301699aa4 100644
--- a/gnu/packages/task-management.scm
+++ b/gnu/packages/task-management.scm
@@ -154,6 +154,39 @@ (define-public taskwarrior
 and querying data, exposing task data in multiple formats to other tools.")
     (license license:expat)))
 
+(define-public timewarrior
+  (package
+    (name "timewarrior")
+    (version "1.4.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/GothenburgBitFactory/timewarrior/"
+                    "releases/download/v"
+                    version
+                    "/timew-"
+                    version
+                    ".tar.gz"))
+              (sha256
+               (base32
+                "0lyaqzcg8np2fpsmih0hlkjxd3qbadc7khr24m1pq9lsdhq7xpy4"))))
+    (build-system cmake-build-system)
+    (inputs (list python ruby-asciidoctor bash-minimal))
+    (arguments
+     (list #:phases #~(modify-phases %standard-phases
+                        (add-after 'patch-source-shebangs 'patch-hardcoded-paths
+                          (lambda _
+                            (substitute* "src/commands/CMakeLists.txt"
+                              (("/bin/sh")
+                               (string-append #$(this-package-input
+                                                 "bash-minimal")
+                                              "/bin/sh"))))))))
+    (home-page "https://timewarrior.net")
+    (synopsis "A command line tool for tracking time")
+    (description "Timewarrior is Free and Open Source Software that tracks
+time from the command line.")
+    (license license:expat)))
+
 (define-public tasksh
   (package
     (name "tasksh")
-- 
2.38.1



[Message part 3 (message/rfc822, inline)]
From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Trevor Richards <trev <at> trevdev.ca>
Cc: 60871-done <at> debbugs.gnu.org
Subject: Re: [bug#60871] [PATCH v2] gnu: add timewarrior
Date: Sat, 28 Jan 2023 11:05:41 +0100
Hello,

Trevor Richards <trev <at> trevdev.ca> writes:

> +(define-public timewarrior

Thank you.

Unfortunately, this is a duplicate of
<https://issues.guix.gnu.org/55874>.

Anyway, your work enticed me to resume this pending work, and applied
it. Let me know if something is not working for you. Meanwhile, I'm
closing this report.

> +    (synopsis "A command line tool for tracking time")

For future reference, synopsis must not start with article "A".

> +    (description "Timewarrior is Free and Open Source Software that tracks
> +time from the command line.")

Also, we don't mention "Free and Open Source" in description, since
everything is as such in Guix.

Regards,
-- 
Nicolas Goaziou


This bug report was last modified 2 years and 171 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.