From 515f561370ec0674f0484d074b53887c82e81d97 Mon Sep 17 00:00:00 2001 From: Stefan Reichör Date: Sun, 21 Feb 2021 21:55:58 +0100 Subject: gnu: Add dstask. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/task-management.scm (dstask): New variable. Signed-off-by: Léo Le Bouter --- gnu/packages/task-management.scm | 49 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) (limited to 'gnu/packages/task-management.scm') diff --git a/gnu/packages/task-management.scm b/gnu/packages/task-management.scm index 6bd033ba2b..99bff5aa23 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,53 @@ 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))) + #t))))) + (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") -- cgit v1.2.3 From 387cac30bc4161055aba0c51e798a440f44592c2 Mon Sep 17 00:00:00 2001 From: LibreMiami Date: Sat, 6 Mar 2021 02:17:21 +0000 Subject: gnu: Add t. * gnu/packages/task-management.scm (t): New variable. Co-authored-by: jgart Co-authored-by: donotshake Co-authored-by: Raghav Gururajan Signed-off-by: Nicolas Goaziou --- gnu/packages/task-management.scm | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) (limited to 'gnu/packages/task-management.scm') diff --git a/gnu/packages/task-management.scm b/gnu/packages/task-management.scm index 99bff5aa23..9667df6030 100644 --- a/gnu/packages/task-management.scm +++ b/gnu/packages/task-management.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2020 Vinicius Monego ;;; Copyright © 2021 Eric Bavier ;;; Copyright © 2021 Stefan Reichör +;;; Copyright © 2021 LibreMiami ;;; ;;; This file is part of GNU Guix. ;;; @@ -32,13 +33,42 @@ #:use-module (gnu packages lua) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) + #:use-module (gnu packages python-xyz) #:use-module (gnu packages tls) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix hg-download) #:use-module (guix utils) #:use-module (guix build-system cmake) #:use-module (guix build-system go) - #:use-module (guix build-system meson)) + #:use-module (guix build-system meson) + #:use-module (guix build-system python)) + +(define-public t + ;; Last release is more than 10 years old. Using latest commit. + (let ((changeset "89ad444c000b") + (revision "97")) + (package + (name "t") + (version (git-version "1.2.0" revision changeset)) + (source + (origin + (method hg-fetch) + (uri (hg-reference + (url "https://hg.stevelosh.com/t") + (changeset changeset))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 "0c8zn7l0xq65wp07h7mxnb5ww56d1443l2vkjvx5sj6wpcchfn0s")))) + (build-system python-build-system) + (native-inputs + `(("python-cram" ,python-cram))) + (synopsis "Command-line todo list manager") + (description + "@command{t} is a command-line todo list manager for people that want +to finish tasks, not organize them.") + (home-page "https://stevelosh.com/projects/t/") + (license license:expat)))) (define-public taskwarrior (package -- cgit v1.2.3 From eb4ed63fc42db5aceaeed3b864bd21d2a304e1d9 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Tue, 9 Mar 2021 07:37:28 -0500 Subject: gnu: Rename "t" to "t-todo-manager". * gnu/packages/task-management.scm (t): Rename to t-todo-manager. Signed-off-by: Nicolas Goaziou --- gnu/packages/task-management.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/task-management.scm') diff --git a/gnu/packages/task-management.scm b/gnu/packages/task-management.scm index 9667df6030..3edf01a9f5 100644 --- a/gnu/packages/task-management.scm +++ b/gnu/packages/task-management.scm @@ -44,12 +44,12 @@ #:use-module (guix build-system meson) #:use-module (guix build-system python)) -(define-public t +(define-public t-todo-manager ;; Last release is more than 10 years old. Using latest commit. (let ((changeset "89ad444c000b") (revision "97")) (package - (name "t") + (name "t-todo-manager") (version (git-version "1.2.0" revision changeset)) (source (origin -- cgit v1.2.3 From 8dc25b4bb3724690c30802d7e3bac8d609e3c836 Mon Sep 17 00:00:00 2001 From: LibreMiami Date: Sat, 13 Mar 2021 12:22:56 +0100 Subject: gnu: Add clikan. * gnu/packages/task-management.scm (clikan): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/task-management.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu/packages/task-management.scm') diff --git a/gnu/packages/task-management.scm b/gnu/packages/task-management.scm index 3edf01a9f5..6b1ae7f6f7 100644 --- a/gnu/packages/task-management.scm +++ b/gnu/packages/task-management.scm @@ -44,6 +44,35 @@ #:use-module (guix build-system meson) #:use-module (guix build-system python)) +(define-public clikan + (let ((commit "90fd60e485b46e49fcec7d029384fe1471c4443a") + (revision "0")) + (package + (name "clikan") + (version + (git-version "0.1.3" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/kitplummer/clikan/") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "113kizm05v4cvyhdlg9zami54wk9qaiizq19mx36qvq9w7pg7a3k")))) + (build-system python-build-system) + (inputs + `(("click" ,python-click) + ("click-default-group" ,python-click-default-group) + ("pyyaml" ,python-pyyaml) + ("terminaltables" ,python-terminaltables))) + (synopsis "Command-line kanban (boarding) utility") + (description + "Clikan is a super simple command-line utility for tracking tasks +following the Japanese kanban (boarding) style.") + (home-page "https://github.com/kitplummer/clikan/") + (license license:expat)))) + (define-public t-todo-manager ;; Last release is more than 10 years old. Using latest commit. (let ((changeset "89ad444c000b") -- cgit v1.2.3