summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Berkowitz <zac.berkowitz@gmail.com>2022-05-13 11:56:51 -0400
committerGuix Patches Tester <>2022-06-09 16:40:29 +0100
commita17f71dfb81afc8c22161c968cd99b9f6cb4d87c (patch)
treed712565dcc16e987eaa2db2bcd765d9e2c892f5a
parentce21522706ce9603eab0da9eb568ceda9c19cd1a (diff)
downloadguix-patches-a17f71dfb81afc8c22161c968cd99b9f6cb4d87c.tar
guix-patches-a17f71dfb81afc8c22161c968cd99b9f6cb4d87c.tar.gz
gnu: Add timewarrior.series-12615
* gnu/packages/task-management.scm (timewarrior): New variable
-rw-r--r--gnu/packages/task-management.scm38
1 files changed, 38 insertions, 0 deletions
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 @@
#: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 @@ Done time management method. It supports network synchronization, filtering
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"))