Subject: bug#58794: closed (Re: [bug#58794] [PATCH] gnu: Add tasksh.)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 05 Nov 2022 10:55:02 +0000

Your bug report

#58794: [PATCH] gnu: Add tasksh.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
58794: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58794
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#58794] [PATCH] gnu: Add tasksh.
From: Christopher Baines <[email-masked]>
To: Matthew James Kraai <[email-masked]>
Cc: [email-masked], [email-masked]
Date: Sat, 05 Nov 2022 11:53:39 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Matthew James Kraai <[email-masked]> writes:

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

I fixed a tiny bit of the indentation, and pushed this to master as
f56aae998cf4d90660e3c758c934990ec30c4776.

Thanks!

Chris

Subject: [PATCH] gnu: Add tasksh.
From: Matthew James Kraai <[email-masked]>
To: [email-masked]
Cc: Matthew James Kraai <[email-masked]>
Date: Wed, 26 Oct 2022 04:28:48 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

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

diff --git a/gnu/packages/task-management.scm b/gnu/packages/task-management.scm
index c0b3cd963c..16e0a6b407 100644
--- a/gnu/packages/task-management.scm
+++ b/gnu/packages/task-management.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2021 Reza Alizadeh Majd <[email-masked]>
 ;;; Copyright © 2022 Foo Chuan Wei <[email-masked]>
 ;;; Copyright © 2022 Pavel Shlyak <[email-masked]>
+;;; Copyright © 2022 Matthew James Kraai <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -44,6 +45,7 @@ (define-module (gnu packages task-management)
   #:use-module (gnu packages python-build)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
+  #:use-module (gnu packages readline)
   #:use-module (gnu packages time)
   #:use-module (gnu packages tls)
   #:use-module (guix download)
@@ -152,6 +154,33 @@ (define-public taskwarrior
 and querying data, exposing task data in multiple formats to other tools.")
     (license license:expat)))
 
+(define-public tasksh
+  (package
+    (name "tasksh")
+    (version "1.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://taskwarrior.org/download/tasksh-" version ".tar.gz"))
+       (sha256 (base32
+                "1z8zw8lld62fjafjvy248dncjk0i4fwygw0ahzjdvyyppx4zjhkf"))))
+    (build-system cmake-build-system)
+    (inputs
+     (list readline))
+    (arguments
+     `(#:tests? #f ; No tests implemented.
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'install-license-files)))) ; Already installed by package
+     (home-page "https://taskwarrior.org")
+    (synopsis "Taskwarrior shell")
+    (description
+     "Tasksh is a shell for Taskwarrior, providing a more immersive environment
+for list management. It has a review feature, shell command execution, and
+libreadline support.")
+    (license license:expat)))
+
 (define-public worklog
   (let ((commit "0f545ad6697ef4de7f68d92cd7cc5c6a4c60517b")
         (revision "1"))
-- 
2.38.0