gnu: Add tasksh.

* gnu/packages/task-management.scm (tasksh): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Matthew James Kraai 2022-10-26 04:28:48 -07:00 committed by Christopher Baines
parent 2b004b4ed0
commit f56aae998c
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -8,6 +8,7 @@
;;; Copyright © 2021 Reza Alizadeh Majd <r.majd@pantherx.org> ;;; Copyright © 2021 Reza Alizadeh Majd <r.majd@pantherx.org>
;;; Copyright © 2022 Foo Chuan Wei <chuanwei.foo@hotmail.com> ;;; Copyright © 2022 Foo Chuan Wei <chuanwei.foo@hotmail.com>
;;; Copyright © 2022 Pavel Shlyak <p.shlyak@pantherx.org> ;;; Copyright © 2022 Pavel Shlyak <p.shlyak@pantherx.org>
;;; Copyright © 2022 Matthew James Kraai <kraai@ftbfs.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -44,6 +45,7 @@
#:use-module (gnu packages python-build) #:use-module (gnu packages python-build)
#:use-module (gnu packages python-xyz) #:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt) #:use-module (gnu packages qt)
#:use-module (gnu packages readline)
#:use-module (gnu packages time) #:use-module (gnu packages time)
#:use-module (gnu packages tls) #:use-module (gnu packages tls)
#:use-module (guix download) #:use-module (guix download)
@ -152,6 +154,33 @@ Done time management method. It supports network synchronization, filtering
and querying data, exposing task data in multiple formats to other tools.") and querying data, exposing task data in multiple formats to other tools.")
(license license:expat))) (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 (define-public worklog
(let ((commit "0f545ad6697ef4de7f68d92cd7cc5c6a4c60517b") (let ((commit "0f545ad6697ef4de7f68d92cd7cc5c6a4c60517b")
(revision "1")) (revision "1"))