From d5ef3a9fb50b88fe1b38b8d62bf3ff78c0fcd147 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20H=C3=B6fling?= Date: Mon, 18 Mar 2019 23:15:01 +0100 Subject: [PATCH] XXX: TaskCoach: First stub. --- gnu/packages/task-management.scm | 99 +++++++++++++++++++++++++++++++- 1 file changed, 98 insertions(+), 1 deletion(-) diff --git a/gnu/packages/task-management.scm b/gnu/packages/task-management.scm index 701e14a5e2..911e4a8475 100644 --- a/gnu/packages/task-management.scm +++ b/gnu/packages/task-management.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015 Tomáš Čech +;;; Copyright © 2019 Björn Höfling ;;; ;;; This file is part of GNU Guix. ;;; @@ -21,9 +22,14 @@ #:use-module (guix packages) #:use-module (gnu packages linux) #:use-module (gnu packages lua) + #:use-module (gnu packages python) + #:use-module (gnu packages python-xyz) #:use-module (gnu packages tls) + #:use-module (gnu packages wxwidgets) + #:use-module (gnu packages xorg) #:use-module (guix download) - #:use-module (guix build-system cmake)) + #:use-module (guix build-system cmake) + #:use-module (guix build-system python)) (define-public taskwarrior (package @@ -59,3 +65,94 @@ Done time management method. It supports network synchronization, filtering and querying data, exposing task data in multiple formats to other tools.") (license license:expat))) + +(define-public taskcoach + (package + (name "taskcoach") + (version "1.4.4") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://sourceforge/taskcoach/taskcoach/Release-" version "/TaskCoach-" version ".tar.gz")) + (sha256 (base32 + "1jb5n4xmb7qdhcgg3lfin293jcks1g8qvqkjfrfifpmfmpmjqv50")))) + (build-system python-build-system) + (inputs + `(("python2-wxpython" ,python2-wxpython) + ("python2-twisted" ,python2-twisted) + )) + (propagated-inputs + `( + ("libxscrnsaver" ,libxscrnsaver) + )) + + (arguments + `(#:tests? #f ; TODO: Needs X11. Maybe simulate one? Cmp. OpenCV. + #:python ,python-2)) + ;; `(#:tests? #f ; No tests implemented. + ;; #:phases + ;; (modify-phases %standard-phases + ;; (add-before + ;; 'patch-source-shebangs 'remove-broken-symlinks + ;; (lambda _ + ;; ;; These files are broken symlinks - delete them. + ;; (delete-file "src/cal") + ;; (delete-file "src/calendar") + ;; (delete-file "src/tw")))))) + (home-page "https://www.taskcoach.org") + (synopsis "TODO") + (description + "TODO") + ;; thirdparty: + ;; aui: wxPython license. + ;; chardet: LGPL 2.1+ + + ;; EXPAT: + ;; guid.py + ;; deltaTime.py + ;; https://github.com/pyparsing/pyparsing/blob/master/examples/deltaTime.py + ;; This is part of pyparsing and thus under EXPAT license. + + ;; snarl.py: This is the same file modulo whitespace and header changes that was + ;; published under version 0.2a und GPLv2 here: + ;; https://github.com/abl/python-snarl/commit/4e6a26edfc477f5a56493a3a91d7cc3547e28945 + + ;; _weakrefset.py: Part of Python, license:psfl. + + ;; dateutil: PSFL + + ;; desktop: LGPG 3+ + + ;; gntp: This is GNTP v0.8, see + ;; https://github.com/kfdm/gntp/tree/a4c1c69cabaa0faa1f650eab193c9872516eb192/gntp + ;; and is thus under EXPAT license. + + ;; keyring: EXPAT | PSFL + ;; See https://github.com/philipn/python-keyring-lib + + ;; lockfile: MIT + ;; https://github.com/smontanaro/pylockfile/blob/426db4cc4389539797f2b5f26883a55534ce6648/LICENSE + + ;; ntlm: LGPLv3+ + ;; http://sourceforge.net/projects/ntlmaps/ + + ;; pubsub: BSD-2-clause: + ;; http://pypubsub.sourceforge.net/about.html#license + + ;; squaremap: EXPAT + ;; https://bazaar.launchpad.net/~mcfletch/squaremap/trunk/view/head:/license.txt + + ;; timeline + ;; according to this stackoverflow answer, this is written by Frank Nissink for TaskCoach: + ;; https://stackoverflow.com/questions/715950/a-wxpython-timeline-widget/819462#819462 + ;; thus, it is GPL3+ + + ;; wxScheduler: + ;; https://github.com/expobrain/wxscheduler/tree/1.3.0 + ;; wxLicense + + ;; xdg + ;; LGPL v2 + ;; https://github.com/takluyver/pyxdg/blob/master/COPYING + (license license:gpl3+))) -- 2.20.1