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>
5 ;;; This file is part of GNU Guix.
7 ;;; GNU Guix is free software; you can redistribute it and/or modify it
8 ;;; under the terms of the GNU General Public License as published by
9 ;;; the Free Software Foundation; either version 3 of the License, or (at
10 ;;; your option) any later version.
12 ;;; GNU Guix is distributed in the hope that it will be useful, but
13 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ;;; GNU General Public License for more details.
17 ;;; You should have received a copy of the GNU General Public License
18 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
20 (define-module (gnu packages task-management)
21 #:use-module ((guix licenses) #:prefix license:)
22 #:use-module (guix packages)
23 #:use-module (gnu packages freedesktop)
24 #:use-module (gnu packages gettext)
25 #:use-module (gnu packages glib)
26 #:use-module (gnu packages gnome)
27 #:use-module (gnu packages gstreamer)
28 #:use-module (gnu packages gtk)
29 #:use-module (gnu packages linux)
30 #:use-module (gnu packages lua)
31 #:use-module (gnu packages pkg-config)
32 #:use-module (gnu packages python)
33 #:use-module (gnu packages tls)
34 #:use-module (guix download)
35 #:use-module (guix git-download)
36 #:use-module (guix utils)
37 #:use-module (guix build-system cmake)
38 #:use-module (guix build-system meson))
40 (define-public taskwarrior
48 "http://taskwarrior.org/download/task-" version ".tar.gz"))
50 "059a9yc58wcicc6xxsjh1ph7k2yrag0spsahp1wqmsq6h7jwwyyq"))))
51 (build-system cmake-build-system)
55 ("util-linux" ,util-linux "lib")))
57 `(#:tests? #f ; No tests implemented.
59 (modify-phases %standard-phases
61 'patch-source-shebangs 'remove-broken-symlinks
63 ;; These files are broken symlinks - delete them.
64 (delete-file "src/cal")
65 (delete-file "src/calendar")
66 (delete-file "src/tw"))))))
67 (home-page "https://taskwarrior.org")
68 (synopsis "Command line task manager")
70 "Taskwarrior is a command-line task manager following the Getting Things
71 Done time management method. It supports network synchronization, filtering
72 and querying data, exposing task data in multiple formats to other tools.")
73 (license license:expat)))
75 (define-public blanket
83 (url "https://github.com/rafaelmardojai/blanket/")
85 (file-name (git-file-name name version))
87 (base32 "13xip9b2p2ai2jchkck71c849s2rlxzfvlbsgpraw9hswi0rk0jg"))))
88 (build-system meson-build-system)
91 #:tests? #f ;the "Validate appstream file" test fails
93 (modify-phases %standard-phases
94 (add-after 'wrap 'wrap-libs
95 (lambda* (#:key outputs #:allow-other-keys)
96 (let* ((out (assoc-ref outputs "out"))
97 (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
98 (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
99 (python-path (getenv "PYTHONPATH")))
100 (wrap-program (string-append out "/bin/blanket")
101 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
102 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
103 `("PYTHONPATH" ":" prefix (,python-path))))
106 `(("desktop-file-utils" ,desktop-file-utils)
107 ("gettext" ,gettext-minimal)
108 ("glib:bin" ,glib "bin")
109 ("gobject-introspection" ,gobject-introspection)
110 ("gtk+:bin" ,gtk+ "bin")
111 ("pkg-config" ,pkg-config)))
113 `(("appstream-glib" ,appstream-glib)
114 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
115 ("gst-plugins-bad" ,gst-plugins-bad)
116 ("gst-plugins-good" ,gst-plugins-good) ;for ScaleTempo plugin
118 ("libhandy" ,libhandy)
119 ("python-gst" ,python-gst)
120 ("python-pygobject" ,python-pygobject)))
121 (home-page "https://github.com/rafaelmardojai/blanket")
122 (synopsis "Ambient sound and noise player")
124 "Blanket provides different ambient sounds and types of noise to listen
125 to with the goal of improving your focus and enhancing your productivity.
126 You can also use it to fall asleep in a noisy environment.")
127 (license license:gpl3+)))