From: Trevor Richards <trev@trevdev.ca>
To: 60871@debbugs.gnu.org
Cc: Trevor Richards <trev@trevdev.ca>
Subject: [bug#60871] [PATCH] gnu: add timewarrior
Date: Mon, 16 Jan 2023 20:17:02 -0800 [thread overview]
Message-ID: <20230117041702.14099-1-trev@trevdev.ca> (raw)
Signed-off-by: Trevor Richards <trev@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
next reply other threads:[~2023-01-17 4:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-17 4:17 Trevor Richards [this message]
2023-01-17 5:48 ` [bug#60871] Add dependencies Trevor Richards
2023-01-17 5:48 ` [bug#60871] [PATCH v2] gnu: add timewarrior Trevor Richards
2023-01-28 10:05 ` bug#60871: " Nicolas Goaziou
2023-01-28 11:12 ` [bug#60871] " Tobias Geerinckx-Rice via Guix-patches via
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=20230117041702.14099-1-trev@trevdev.ca \
--to=trev@trevdev.ca \
--cc=60871@debbugs.gnu.org \
/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.