From patchwork Wed Oct 26 11:28:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Matthew James Kraai X-Patchwork-Id: 44138 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5763B27BBEB; Wed, 26 Oct 2022 12:31:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 74FCA27BBE9 for ; Wed, 26 Oct 2022 12:31:09 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onebl-0002CH-2h; Wed, 26 Oct 2022 07:30:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onebi-0002C7-Tp for guix-patches@gnu.org; Wed, 26 Oct 2022 07:30:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1onebi-0001Mj-Lh for guix-patches@gnu.org; Wed, 26 Oct 2022 07:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1onebi-0001lq-CR for guix-patches@gnu.org; Wed, 26 Oct 2022 07:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58794] [PATCH] gnu: Add tasksh. Resent-From: Matthew James Kraai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 26 Oct 2022 11:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58794 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58794@debbugs.gnu.org Cc: Matthew James Kraai X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16667837506709 (code B ref -1); Wed, 26 Oct 2022 11:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Oct 2022 11:29:10 +0000 Received: from localhost ([127.0.0.1]:53493 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onear-0001k8-S8 for submit@debbugs.gnu.org; Wed, 26 Oct 2022 07:29:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:57274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oneaq-0001k1-CZ for submit@debbugs.gnu.org; Wed, 26 Oct 2022 07:29:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oneao-00024W-M6 for guix-patches@gnu.org; Wed, 26 Oct 2022 07:29:08 -0400 Received: from mail.ftbfs.org ([52.8.68.13] helo=aws.ftbfs.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oneam-0001GR-Vs for guix-patches@gnu.org; Wed, 26 Oct 2022 07:29:06 -0400 Received: from ip68-4-255-43.oc.oc.cox.net ([68.4.255.43] helo=carlo.lan) by aws.ftbfs.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oneaj-0006Ge-Te; Wed, 26 Oct 2022 11:29:02 +0000 From: Matthew James Kraai Date: Wed, 26 Oct 2022 04:28:48 -0700 Message-Id: <20221026112848.4957-1-kraai@ftbfs.org> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 Received-SPF: pass client-ip=52.8.68.13; envelope-from=kraai@ftbfs.org; helo=aws.ftbfs.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Guix-patches" Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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 ;;; Copyright © 2022 Foo Chuan Wei ;;; Copyright © 2022 Pavel Shlyak +;;; Copyright © 2022 Matthew James Kraai ;;; ;;; 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"))