[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/06: gnu: Add todoman.
From: |
guix-commits |
Subject: |
03/06: gnu: Add todoman. |
Date: |
Thu, 16 Dec 2021 04:11:19 -0500 (EST) |
lbraun pushed a commit to branch master
in repository guix.
commit 13c6ed07eaf38f51dc1c9c3329df713786cb8185
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Wed Dec 15 10:52:18 2021 +0100
gnu: Add todoman.
* gnu/packages/task-management.scm (todoman): New variable.
---
gnu/packages/task-management.scm | 51 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/gnu/packages/task-management.scm b/gnu/packages/task-management.scm
index 79ef567..296ddbd 100644
--- a/gnu/packages/task-management.scm
+++ b/gnu/packages/task-management.scm
@@ -35,6 +35,7 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
+ #:use-module (gnu packages time)
#:use-module (gnu packages tls)
#:use-module (guix download)
#:use-module (guix git-download)
@@ -239,3 +240,53 @@ a task.")
to with the goal of improving your focus and enhancing your productivity.
You can also use it to fall asleep in a noisy environment.")
(license license:gpl3+)))
+
+(define-public todoman
+ (package
+ (name "todoman")
+ (version "4.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "todoman" version))
+ (sha256
+ (base32 "1j2h5cv8wnmw41fpz1ggsgi599qhk184cas9kgd92glj3m4alg6f"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-tests
+ (lambda _
+ (substitute* '("tests/test_cli.py" "tests/test_formatter.py")
+ (("tests\\.helpers") "helpers"))))
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv" "tests" "-k"
+ (string-append
+ ;; Test expects wrong output string.
+ "not test_bad_start_date "
+ ;; Unknown failure
+ "and not test_default_command_args"))))))))
+ (native-inputs
+ (list python-setuptools-scm
+ python-pytest
+ python-pytest-cov
+ python-freezegun))
+ (propagated-inputs
+ (list python-atomicwrites
+ python-click
+ python-click-log
+ python-dateutil
+ python-humanize
+ python-icalendar
+ python-parsedatetime
+ python-pyxdg
+ python-urwid))
+ (home-page "https://todoman.readthedocs.io/")
+ (synopsis "CalDav-based todo manager")
+ (description "Todoman is a simple, standards-based, cli todo (aka: task)
+manager. Todos are stored into icalendar files, which means you can sync
+them via CalDAV using, for example, @code{vdirsyncer}.")
+ (license license:isc)))
+
- branch master updated (6335c94 -> 08218fd), guix-commits, 2021/12/16
- 03/06: gnu: Add todoman.,
guix-commits <=
- 02/06: gnu: Replace JUPYTER_CONFIG_DIR with JUPYTER_CONFIG_PATH., guix-commits, 2021/12/16
- 04/06: gnu: Add js-mathjax-3., guix-commits, 2021/12/16
- 06/06: gnu: python-pyflow: Rename to python2-pyflow., guix-commits, 2021/12/16
- 01/06: gnu: python-sanic: Update to 20.12.4., guix-commits, 2021/12/16
- 05/06: gnu: python-flask-restful: Rewrite import., guix-commits, 2021/12/16