1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015 Tomáš Čech <sleep_walker@suse.cz>
3 ;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
4 ;;; Copyright © 2021 Eric Bavier <bavier@posteo.net>
5 ;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at>
6 ;;; Copyright © 2021 LibreMiami <packaging-guix@libremiami.org>
8 ;;; This file is part of GNU Guix.
10 ;;; GNU Guix is free software; you can redistribute it and/or modify it
11 ;;; under the terms of the GNU General Public License as published by
12 ;;; the Free Software Foundation; either version 3 of the License, or (at
13 ;;; your option) any later version.
15 ;;; GNU Guix is distributed in the hope that it will be useful, but
16 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
17 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 ;;; GNU General Public License for more details.
20 ;;; You should have received a copy of the GNU General Public License
21 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
23 (define-module (gnu packages task-management)
24 #:use-module ((guix licenses) #:prefix license:)
25 #:use-module (guix packages)
26 #:use-module (gnu packages freedesktop)
27 #:use-module (gnu packages gettext)
28 #:use-module (gnu packages glib)
29 #:use-module (gnu packages gnome)
30 #:use-module (gnu packages gstreamer)
31 #:use-module (gnu packages gtk)
32 #:use-module (gnu packages linux)
33 #:use-module (gnu packages lua)
34 #:use-module (gnu packages pkg-config)
35 #:use-module (gnu packages python)
36 #:use-module (gnu packages python-xyz)
37 #:use-module (gnu packages tls)
38 #:use-module (guix download)
39 #:use-module (guix git-download)
40 #:use-module (guix hg-download)
41 #:use-module (guix utils)
42 #:use-module (guix build-system cmake)
43 #:use-module (guix build-system go)
44 #:use-module (guix build-system meson)
45 #:use-module (guix build-system python))
48 (let ((commit "90fd60e485b46e49fcec7d029384fe1471c4443a")
53 (git-version "0.1.3" revision commit))
58 (url "https://github.com/kitplummer/clikan/")
60 (file-name (git-file-name name version))
62 (base32 "113kizm05v4cvyhdlg9zami54wk9qaiizq19mx36qvq9w7pg7a3k"))))
63 (build-system python-build-system)
65 `(("click" ,python-click)
66 ("click-default-group" ,python-click-default-group)
67 ("pyyaml" ,python-pyyaml)
68 ("terminaltables" ,python-terminaltables)))
69 (synopsis "Command-line kanban (boarding) utility")
71 "Clikan is a super simple command-line utility for tracking tasks
72 following the Japanese kanban (boarding) style.")
73 (home-page "https://github.com/kitplummer/clikan/")
74 (license license:expat))))
76 (define-public t-todo-manager
77 ;; Last release is more than 10 years old. Using latest commit.
78 (let ((changeset "89ad444c000b")
81 (name "t-todo-manager")
82 (version (git-version "1.2.0" revision changeset))
87 (url "https://hg.stevelosh.com/t")
88 (changeset changeset)))
89 (file-name (string-append name "-" version "-checkout"))
91 (base32 "0c8zn7l0xq65wp07h7mxnb5ww56d1443l2vkjvx5sj6wpcchfn0s"))))
92 (build-system python-build-system)
94 `(("python-cram" ,python-cram)))
95 (synopsis "Command-line todo list manager")
97 "@command{t} is a command-line todo list manager for people that want
98 to finish tasks, not organize them.")
99 (home-page "https://stevelosh.com/projects/t/")
100 (license license:expat))))
102 (define-public taskwarrior
110 "http://taskwarrior.org/download/task-" version ".tar.gz"))
112 "0fwnxshhlha21hlgg5z1ad01w13zm1hlmncs274y5n8i15gdfhvj"))))
113 (build-system cmake-build-system)
116 ("util-linux" ,util-linux "lib")))
118 `(#:tests? #f ; No tests implemented.
120 (modify-phases %standard-phases
121 (delete 'install-license-files)))) ; Already installed by package
122 (home-page "https://taskwarrior.org")
123 (synopsis "Command line task manager")
125 "Taskwarrior is a command-line task manager following the Getting Things
126 Done time management method. It supports network synchronization, filtering
127 and querying data, exposing task data in multiple formats to other tools.")
128 (license license:expat)))
130 (define-public dstask
138 (url "https://github.com/naggie/dstask")
139 (commit (string-append "v" version))))
140 (file-name (git-file-name name version))
142 (base32 "03rl2wh58xd6a80ji43c7ak3h0ysi3ddg570pn8ry24s7s45zsz2"))))
143 (build-system go-build-system)
145 `(#:import-path "github.com/naggie/dstask"
148 (modify-phases %standard-phases
150 (lambda* (#:key import-path #:allow-other-keys)
151 (with-directory-excursion (string-append "src/" import-path)
152 (invoke "go" "build" "-o" "dstask" "cmd/dstask/main.go")
153 (invoke "go" "build" "-o" "dstask-import"
154 "cmd/dstask-import/main.go"))))
156 (lambda* (#:key import-path outputs #:allow-other-keys)
157 (with-directory-excursion (string-append "src/" import-path)
158 (let* ((out (assoc-ref outputs "out"))
159 (bindir (string-append out "/bin"))
160 (zsh-completion (string-append
161 out "/share/zsh/site-functions/_dstask"))
164 out "/share/bash-completion/completions/_dstask")))
165 (install-file "dstask" bindir)
166 (install-file "dstask-import" bindir)
167 (install-file ".dstask-bash-completions.sh" bash-completion)
168 (install-file ".dstask-zsh-completions.sh" zsh-completion)))
170 (synopsis "CLI-based TODO manager with git-based sync + markdown notes per task")
171 (description "dstask is a personal task tracker that uses git for
172 synchronization. It offers a note command to attach a Markdown based note to
174 (home-page "https://github.com/naggie/dstask")
175 (license license:expat)))
177 (define-public blanket
185 (url "https://github.com/rafaelmardojai/blanket/")
187 (file-name (git-file-name name version))
189 (base32 "13xip9b2p2ai2jchkck71c849s2rlxzfvlbsgpraw9hswi0rk0jg"))))
190 (build-system meson-build-system)
193 #:tests? #f ;the "Validate appstream file" test fails
195 (modify-phases %standard-phases
196 (add-after 'wrap 'wrap-libs
197 (lambda* (#:key outputs #:allow-other-keys)
198 (let* ((out (assoc-ref outputs "out"))
199 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
200 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
201 (python-path (getenv "PYTHONPATH")))
202 (wrap-program (string-append out "/bin/blanket")
203 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
204 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
205 `("PYTHONPATH" ":" prefix (,python-path))))
208 `(("desktop-file-utils" ,desktop-file-utils)
209 ("gettext" ,gettext-minimal)
210 ("glib:bin" ,glib "bin")
211 ("gobject-introspection" ,gobject-introspection)
212 ("gtk+:bin" ,gtk+ "bin")
213 ("pkg-config" ,pkg-config)))
215 `(("appstream-glib" ,appstream-glib)
216 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
217 ("gst-plugins-bad" ,gst-plugins-bad)
218 ("gst-plugins-good" ,gst-plugins-good) ;for ScaleTempo plugin
220 ("libhandy" ,libhandy)
221 ("python-gst" ,python-gst)
222 ("python-pygobject" ,python-pygobject)))
223 (home-page "https://github.com/rafaelmardojai/blanket")
224 (synopsis "Ambient sound and noise player")
226 "Blanket provides different ambient sounds and types of noise to listen
227 to with the goal of improving your focus and enhancing your productivity.
228 You can also use it to fall asleep in a noisy environment.")
229 (license license:gpl3+)))