Commit | Line | Data |
---|---|---|
a73956ba TČ |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2015 Tomáš Čech <sleep_walker@suse.cz> | |
1f207675 | 3 | ;;; Copyright © 2020 Vinicius Monego <monego@posteo.net> |
3204411f | 4 | ;;; Copyright © 2021 Eric Bavier <bavier@posteo.net> |
515f5613 | 5 | ;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at> |
387cac30 | 6 | ;;; Copyright © 2021 LibreMiami <packaging-guix@libremiami.org> |
a73956ba TČ |
7 | ;;; |
8 | ;;; This file is part of GNU Guix. | |
9 | ;;; | |
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. | |
14 | ;;; | |
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. | |
19 | ;;; | |
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/>. | |
22 | ||
23 | (define-module (gnu packages task-management) | |
24 | #:use-module ((guix licenses) #:prefix license:) | |
25 | #:use-module (guix packages) | |
1f207675 VM |
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) | |
a73956ba TČ |
32 | #:use-module (gnu packages linux) |
33 | #:use-module (gnu packages lua) | |
1f207675 VM |
34 | #:use-module (gnu packages pkg-config) |
35 | #:use-module (gnu packages python) | |
387cac30 | 36 | #:use-module (gnu packages python-xyz) |
a7fd7b68 | 37 | #:use-module (gnu packages tls) |
a73956ba | 38 | #:use-module (guix download) |
1f207675 | 39 | #:use-module (guix git-download) |
387cac30 | 40 | #:use-module (guix hg-download) |
1f207675 VM |
41 | #:use-module (guix utils) |
42 | #:use-module (guix build-system cmake) | |
515f5613 | 43 | #:use-module (guix build-system go) |
387cac30 L |
44 | #:use-module (guix build-system meson) |
45 | #:use-module (guix build-system python)) | |
46 | ||
8dc25b4b L |
47 | (define-public clikan |
48 | (let ((commit "90fd60e485b46e49fcec7d029384fe1471c4443a") | |
49 | (revision "0")) | |
50 | (package | |
51 | (name "clikan") | |
52 | (version | |
53 | (git-version "0.1.3" revision commit)) | |
54 | (source | |
55 | (origin | |
56 | (method git-fetch) | |
57 | (uri (git-reference | |
58 | (url "https://github.com/kitplummer/clikan/") | |
59 | (commit commit))) | |
60 | (file-name (git-file-name name version)) | |
61 | (sha256 | |
62 | (base32 "113kizm05v4cvyhdlg9zami54wk9qaiizq19mx36qvq9w7pg7a3k")))) | |
63 | (build-system python-build-system) | |
64 | (inputs | |
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") | |
70 | (description | |
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)))) | |
75 | ||
eb4ed63f | 76 | (define-public t-todo-manager |
387cac30 L |
77 | ;; Last release is more than 10 years old. Using latest commit. |
78 | (let ((changeset "89ad444c000b") | |
79 | (revision "97")) | |
80 | (package | |
eb4ed63f | 81 | (name "t-todo-manager") |
387cac30 L |
82 | (version (git-version "1.2.0" revision changeset)) |
83 | (source | |
84 | (origin | |
85 | (method hg-fetch) | |
86 | (uri (hg-reference | |
87 | (url "https://hg.stevelosh.com/t") | |
88 | (changeset changeset))) | |
89 | (file-name (string-append name "-" version "-checkout")) | |
90 | (sha256 | |
91 | (base32 "0c8zn7l0xq65wp07h7mxnb5ww56d1443l2vkjvx5sj6wpcchfn0s")))) | |
92 | (build-system python-build-system) | |
93 | (native-inputs | |
94 | `(("python-cram" ,python-cram))) | |
95 | (synopsis "Command-line todo list manager") | |
96 | (description | |
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)))) | |
a73956ba TČ |
101 | |
102 | (define-public taskwarrior | |
103 | (package | |
104 | (name "taskwarrior") | |
3204411f | 105 | (version "2.5.3") |
a73956ba TČ |
106 | (source |
107 | (origin | |
108 | (method url-fetch) | |
109 | (uri (string-append | |
110 | "http://taskwarrior.org/download/task-" version ".tar.gz")) | |
111 | (sha256 (base32 | |
3204411f | 112 | "0fwnxshhlha21hlgg5z1ad01w13zm1hlmncs274y5n8i15gdfhvj")))) |
a73956ba TČ |
113 | (build-system cmake-build-system) |
114 | (inputs | |
115 | `(("gnutls" ,gnutls) | |
bb93042c | 116 | ("util-linux" ,util-linux "lib"))) |
a73956ba TČ |
117 | (arguments |
118 | `(#:tests? #f ; No tests implemented. | |
119 | #:phases | |
120 | (modify-phases %standard-phases | |
3204411f | 121 | (delete 'install-license-files)))) ; Already installed by package |
0588668f | 122 | (home-page "https://taskwarrior.org") |
a73956ba TČ |
123 | (synopsis "Command line task manager") |
124 | (description | |
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))) | |
1f207675 | 129 | |
515f5613 SR |
130 | (define-public dstask |
131 | (package | |
132 | (name "dstask") | |
133 | (version "0.24.1") | |
134 | (source | |
135 | (origin | |
136 | (method git-fetch) | |
137 | (uri (git-reference | |
138 | (url "https://github.com/naggie/dstask") | |
139 | (commit (string-append "v" version)))) | |
140 | (file-name (git-file-name name version)) | |
141 | (sha256 | |
142 | (base32 "03rl2wh58xd6a80ji43c7ak3h0ysi3ddg570pn8ry24s7s45zsz2")))) | |
143 | (build-system go-build-system) | |
144 | (arguments | |
145 | `(#:import-path "github.com/naggie/dstask" | |
146 | #:install-source? #f | |
147 | #:phases | |
148 | (modify-phases %standard-phases | |
149 | (replace 'build | |
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")))) | |
155 | (replace 'install | |
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")) | |
162 | (bash-completion | |
163 | (string-append | |
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))) | |
169 | #t))))) | |
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 | |
173 | a task.") | |
174 | (home-page "https://github.com/naggie/dstask") | |
175 | (license license:expat))) | |
176 | ||
1f207675 VM |
177 | (define-public blanket |
178 | (package | |
179 | (name "blanket") | |
180 | (version "0.3.1") | |
181 | (source | |
182 | (origin | |
183 | (method git-fetch) | |
184 | (uri (git-reference | |
185 | (url "https://github.com/rafaelmardojai/blanket/") | |
186 | (commit version))) | |
187 | (file-name (git-file-name name version)) | |
188 | (sha256 | |
189 | (base32 "13xip9b2p2ai2jchkck71c849s2rlxzfvlbsgpraw9hswi0rk0jg")))) | |
190 | (build-system meson-build-system) | |
191 | (arguments | |
192 | `(#:glib-or-gtk? #t | |
193 | #:tests? #f ;the "Validate appstream file" test fails | |
194 | #:phases | |
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)))) | |
206 | #t))))) | |
207 | (native-inputs | |
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))) | |
214 | (inputs | |
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 | |
219 | ("gtk+" ,gtk+) | |
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") | |
225 | (description | |
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+))) |