From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wKSnOTHJMmBiVgAA0tVLHw (envelope-from ) for ; Sun, 21 Feb 2021 20:57:21 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6HyNNTHJMmBrcQAA1q6Kng (envelope-from ) for ; Sun, 21 Feb 2021 20:57:21 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx2.migadu.com (Postfix) with ESMTPS id 2B3DB21B8E for ; Sun, 21 Feb 2021 21:57:21 +0100 (CET) Received: from localhost ([::1]:33428 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDvn5-0002OK-TU for larch@yhetil.org; Sun, 21 Feb 2021 15:57:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46232) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDvmo-0002O1-AG for guix-patches@gnu.org; Sun, 21 Feb 2021 15:57:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43469) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDvmn-0006rh-UP for guix-patches@gnu.org; Sun, 21 Feb 2021 15:57:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lDvmn-0006QE-SC for guix-patches@gnu.org; Sun, 21 Feb 2021 15:57:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46694] [PATCH] gnu: Add dstask. Resent-From: Stefan =?UTF-8?Q?Reich=C3=B6r?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 21 Feb 2021 20:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46694 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46694@debbugs.gnu.org Cc: Stefan =?UTF-8?Q?Reich=C3=B6r?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161394098124626 (code B ref -1); Sun, 21 Feb 2021 20:57:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Feb 2021 20:56:21 +0000 Received: from localhost ([127.0.0.1]:55015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDvm4-0006P3-E4 for submit@debbugs.gnu.org; Sun, 21 Feb 2021 15:56:21 -0500 Received: from lists.gnu.org ([209.51.188.17]:34462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDvm2-0006Ot-7w for submit@debbugs.gnu.org; Sun, 21 Feb 2021 15:56:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDvm1-00021k-Va for guix-patches@gnu.org; Sun, 21 Feb 2021 15:56:13 -0500 Received: from dd3624.kasserver.com ([85.13.130.11]:44066) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDvly-0006P0-Dp for guix-patches@gnu.org; Sun, 21 Feb 2021 15:56:13 -0500 Received: from localhost (217-149-162-201.nat.highway.telekom.at [217.149.162.201]) by dd3624.kasserver.com (Postfix) with ESMTPA id 124435D4008B; Sun, 21 Feb 2021 21:56:05 +0100 (CET) From: Stefan =?UTF-8?Q?Reich=C3=B6r?= Date: Sun, 21 Feb 2021 21:55:58 +0100 Message-Id: <20210221205558.166912-1-stefan@xsteve.at> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=85.13.130.11; envelope-from=stefan@xsteve.at; helo=dd3624.kasserver.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.37 Authentication-Results: aspmx2.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx2.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 2B3DB21B8E X-Spam-Score: -1.37 X-Migadu-Scanner: scn0.migadu.com X-TUID: hG/V/Q7xGesr * gnu/packages/task-management.scm (dstask): New variable. --- gnu/packages/task-management.scm | 48 ++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/task-management.scm b/gnu/packages/task-management.scm index 6bd033ba2b..e6b9e33c3d 100644 --- a/gnu/packages/task-management.scm +++ b/gnu/packages/task-management.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2015 Tomáš Čech ;;; Copyright © 2020 Vinicius Monego ;;; Copyright © 2021 Eric Bavier +;;; Copyright © 2021 Stefan Reichör ;;; ;;; This file is part of GNU Guix. ;;; @@ -36,6 +37,7 @@ #:use-module (guix git-download) #:use-module (guix utils) #:use-module (guix build-system cmake) + #:use-module (guix build-system go) #:use-module (guix build-system meson)) (define-public taskwarrior @@ -66,6 +68,52 @@ 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 dstask + (package + (name "dstask") + (version "0.24.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/naggie/dstask") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "03rl2wh58xd6a80ji43c7ak3h0ysi3ddg570pn8ry24s7s45zsz2")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/naggie/dstask" + #:install-source? #f + #:phases + (modify-phases %standard-phases + (replace 'build + (lambda* (#:key import-path #:allow-other-keys) + (with-directory-excursion (string-append "src/" import-path) + (invoke "go" "build" "-o" "dstask" "cmd/dstask/main.go") + (invoke "go" "build" "-o" "dstask-import" + "cmd/dstask-import/main.go")))) + (replace 'install + (lambda* (#:key import-path outputs #:allow-other-keys) + (with-directory-excursion (string-append "src/" import-path) + (let* ((out (assoc-ref outputs "out")) + (bindir (string-append out "/bin")) + (zsh-completion (string-append + out "/share/zsh/site-functions/_dstask")) + (bash-completion + (string-append + out "/share/bash-completion/completions/_dstask"))) + (install-file "dstask" bindir) + (install-file "dstask-import" bindir) + (install-file ".dstask-bash-completions.sh" bash-completion) + (install-file ".dstask-zsh-completions.sh" zsh-completion)))))))) + (synopsis "CLI-based TODO manager with git-based sync + markdown notes per task") + (description "dstask is a personal task tracker that uses git for +synchronization. It offers a note command to attach a Markdown based note to +a task.") + (home-page "https://github.com/naggie/dstask") + (license license:expat))) + (define-public blanket (package (name "blanket") -- 2.25.1