unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#55874] [PATCH] Add timewarrior 1.4.3
@ 2022-06-09 15:11 Zac Berkowitz
  2022-06-09 19:50 ` Maxime Devos
                   ` (10 more replies)
  0 siblings, 11 replies; 21+ messages in thread
From: Zac Berkowitz @ 2022-06-09 15:11 UTC (permalink / raw)
  To: 55874

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: 0001-gnu-Add-timewarrior.patch --]
[-- Type: text/x-patch, Size: 2559 bytes --]

From dc3cd50a62ddce3fcc2ea9c374036192411b833a Mon Sep 17 00:00:00 2001
From: Zac Berkowitz <zac.berkowitz@gmail.com>
Date: Fri, 13 May 2022 11:56:51 -0400
Subject: [PATCH] gnu: Add timewarrior.

* gnu/packages/task-management.scm (timewarrior): New variable
---
 gnu/packages/task-management.scm | 38 ++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/task-management.scm b/gnu/packages/task-management.scm
index aeedbfbe6a..3a21c1a44d 100644
--- a/gnu/packages/task-management.scm
+++ b/gnu/packages/task-management.scm
@@ -38,6 +38,7 @@ (define-module (gnu packages task-management)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-xyz)
+  #:use-module (gnu packages ruby)
   #:use-module (gnu packages time)
   #:use-module (gnu packages tls)
   #:use-module (guix download)
@@ -145,6 +146,43 @@ (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)
+    (native-inputs
+     `(("ruby-asciidoctor" ,ruby-asciidoctor)
+       ("python" ,python)))
+    (inputs
+     `(("gnutls" ,gnutls)
+       ("util-linux:lib" ,util-linux "lib")))
+     ;; (list gnutls
+     ;;       `(,util-linux "lib")))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (delete 'install-license-files) ; Already installed by package
+         (add-after 'patch-source-shebangs 'patch-cmake-shell
+           (lambda _
+             (substitute* "src/commands/CMakeLists.txt"
+               (("/bin/sh") (which "sh"))))))))
+     (home-page "https://timewarrior.net")
+    (synopsis "Command line utility to track and report time")
+    (description
+     "Timewarrior is a command line time tracking application, which allows
+you to record time spent on activities.  You may be tracking your time for
+curiosity, or because your work requires it.")
+    (license license:expat)))
+
 (define-public worklog
   (let ((commit "0f545ad6697ef4de7f68d92cd7cc5c6a4c60517b")
         (revision "1"))
-- 
2.36.1


^ permalink raw reply related	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2023-01-28 10:09 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-09 15:11 [bug#55874] [PATCH] Add timewarrior 1.4.3 Zac Berkowitz
2022-06-09 19:50 ` Maxime Devos
2022-06-09 19:53 ` Maxime Devos
2022-06-09 19:55 ` Maxime Devos
2022-06-09 19:56 ` Maxime Devos
2022-06-09 20:01 ` Maxime Devos
2022-06-09 20:06 ` Maxime Devos
2022-06-09 20:08 ` Maxime Devos
2022-06-09 20:09 ` Maxime Devos
2022-06-09 20:10 ` Maxime Devos
2022-06-09 20:12 ` Maxime Devos
2022-06-09 20:17 ` Maxime Devos
2022-06-10  1:36   ` Zac Berkowitz
2022-06-10  7:49     ` Maxime Devos
2022-06-10 14:04       ` Zac Berkowitz
2022-06-10 14:54         ` Maxime Devos
2022-06-10 14:56         ` Maxime Devos
2022-06-10 15:00         ` Maxime Devos
2022-06-10 15:00         ` Maxime Devos
2022-06-13 18:14           ` [bug#55874] [PATCH v2] " Zac Berkowitz
2023-01-28 10:08             ` bug#55874: " Nicolas Goaziou

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).