diff options
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/task-management.scm | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/gnu/packages/task-management.scm b/gnu/packages/task-management.scm index 192499b2174..52317c8c3a1 100644 --- a/gnu/packages/task-management.scm +++ b/gnu/packages/task-management.scm | |||
| @@ -236,6 +236,63 @@ management tool that embeds issues, comments, and more as objects in a git | |||
| 236 | repository.") | 236 | repository.") |
| 237 | (license license:gpl3+))) | 237 | (license license:gpl3+))) |
| 238 | 238 | ||
| 239 | (define-public gtimelog | ||
| 240 | (package | ||
| 241 | (name "gtimelog") | ||
| 242 | (version "0.12.0") | ||
| 243 | (source | ||
| 244 | (origin | ||
| 245 | (method git-fetch) | ||
| 246 | (uri (git-reference | ||
| 247 | (url "https://github.com/gtimelog/gtimelog") | ||
| 248 | (commit version))) | ||
| 249 | (file-name (git-file-name name version)) | ||
| 250 | (sha256 | ||
| 251 | (base32 "1k6fjvi7f3w0b8208im02y7b25sb9v1nvcl72xbqfnnr16080lin")))) | ||
| 252 | (build-system pyproject-build-system) | ||
| 253 | (arguments | ||
| 254 | (list | ||
| 255 | #:test-backend | ||
| 256 | #~'custom | ||
| 257 | #:test-flags | ||
| 258 | #~(list "runtests") | ||
| 259 | #:phases | ||
| 260 | #~(modify-phases %standard-phases | ||
| 261 | (add-after 'create-entrypoints 'wrap | ||
| 262 | (lambda _ | ||
| 263 | (wrap-program (string-append #$output "/bin/gtimelog") | ||
| 264 | `("GI_TYPELIB_PATH" = | ||
| 265 | (,(getenv "GI_TYPELIB_PATH")))))) | ||
| 266 | (add-after 'wrap 'install-icon | ||
| 267 | (lambda _ | ||
| 268 | (let ((pixmaps (string-append #$output "/share/pixmaps"))) | ||
| 269 | (mkdir-p pixmaps) | ||
| 270 | (copy-file "src/gtimelog/gtimelog-large.png" | ||
| 271 | (string-append pixmaps "/gtimelog-large.png"))))) | ||
| 272 | (add-after 'install-icon 'create-desktop-entry-file | ||
| 273 | (lambda _ | ||
| 274 | (make-desktop-entry-file (string-append #$output | ||
| 275 | "/share/applications/gtimelog.desktop") | ||
| 276 | #:name "GTimeLog" | ||
| 277 | #:comment | ||
| 278 | "Track and time daily activities" | ||
| 279 | #:exec (string-append #$output | ||
| 280 | "/bin/gtimelog") | ||
| 281 | #:startup-notify #t | ||
| 282 | #:icon (string-append #$output | ||
| 283 | "/share/pixmaps/gtimelog-large.png") | ||
| 284 | #:categories "Utility")))))) | ||
| 285 | (inputs (list bash-minimal gtk+ libsecret libsoup python-pygobject)) | ||
| 286 | (native-inputs (list gobject-introspection python-freezegun | ||
| 287 | python-setuptools)) | ||
| 288 | (home-page "https://gtimelog.org/") | ||
| 289 | (synopsis "Gtk+ time tracking application") | ||
| 290 | (description | ||
| 291 | "GTimeLog provides a time tracking application | ||
| 292 | to allow the user to track what they work on during the day and | ||
| 293 | how long they spend doing it.") | ||
| 294 | (license license:gpl3))) | ||
| 295 | |||
| 239 | (define-public annextimelog | 296 | (define-public annextimelog |
| 240 | (package | 297 | (package |
| 241 | (name "annextimelog") | 298 | (name "annextimelog") |
