all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add taskwarrior.
@ 2015-03-11 21:02 Tomáš Čech
  0 siblings, 0 replies; 6+ messages in thread
From: Tomáš Čech @ 2015-03-11 21:02 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/task.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add new file here.
---
 gnu-system.am         |  1 +
 gnu/packages/task.scm | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)
 create mode 100644 gnu/packages/task.scm

diff --git a/gnu-system.am b/gnu-system.am
index 2175605..f4c92dd 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -273,6 +273,7 @@ GNU_SYSTEM_MODULES =				\
   gnu/packages/swig.scm				\
   gnu/packages/sxiv.scm				\
   gnu/packages/synergy.scm			\
+  gnu/packages/task.scm				\
   gnu/packages/tbb.scm				\
   gnu/packages/tcl.scm				\
   gnu/packages/tcsh.scm				\
diff --git a/gnu/packages/task.scm b/gnu/packages/task.scm
new file mode 100644
index 0000000..7fa1628
--- /dev/null
+++ b/gnu/packages/task.scm
@@ -0,0 +1,64 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2015 Tomáš Čech <sleep_walker@suse.cz>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages mail)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix packages)
+  #:use-module (gnu packages gnutls)
+  #:use-module (gnu packages lua)
+  #:use-module (guix download)
+  #:use-module (guix build-system cmake)
+  )
+
+(define-public taskwarrior
+  (package
+    (name "taskwarrior")
+    (version "2.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://taskwarrior.org/download/task-" version ".tar.gz"))
+       (sha256 (base32
+                "1qn2jwskrkqg3lszkcd37h06j4a1spfkr8z9yq17p59r8v34h3nr"))))
+    (build-system cmake-build-system)
+    (inputs
+     `(("util-linux" ,util-linux)
+       ("gnutls" ,gnutls)
+       ("lua" ,lua)
+       ("coreutils" ,coreutils)
+       ))
+;;    (native-inputs
+;;     `(("pkg-config" ,pkg-config)))
+    (arguments
+     `(#:phases
+       (alist-cons-before
+        'patch-source-shebangs 'remove-broken-symlinks
+        (lambda _
+          (delete-file "src/cal")
+          (delete-file "src/calendar")
+          (delete-file "src/tw"))
+        (alist-delete 'check %standard-phases))))
+    (home-page "http://taskwarrior.org")
+    (synopsis
+     "Simple and easy to use SMTP client with decent sendmail compatibility")
+    (description
+     "msmtp is an SMTP client.  In the default mode, it transmits a mail to
+an SMTP server (for example at a free mail provider) which takes care of further
+delivery.")
+    (license license:expat)))
-- 
2.2.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [PATCH] gnu: Add taskwarrior.
@ 2015-03-27 19:53 Tomáš Čech
  0 siblings, 0 replies; 6+ messages in thread
From: Tomáš Čech @ 2015-03-27 19:53 UTC (permalink / raw)
  To: guix-devel

From: Tomáš Čech <sleep_walker@suse.cz>

* gnu/packages/task-management.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
---
 gnu-system.am                    |  1 +
 gnu/packages/task-management.scm | 63 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)
 create mode 100644 gnu/packages/task-management.scm

diff --git a/gnu-system.am b/gnu-system.am
index 6fdd60d..ae4b41d 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -277,6 +277,7 @@ GNU_SYSTEM_MODULES =				\
   gnu/packages/swig.scm				\
   gnu/packages/sxiv.scm				\
   gnu/packages/synergy.scm			\
+  gnu/packages/task-management.scm		\
   gnu/packages/tbb.scm				\
   gnu/packages/tcl.scm				\
   gnu/packages/tcsh.scm				\
diff --git a/gnu/packages/task-management.scm b/gnu/packages/task-management.scm
new file mode 100644
index 0000000..278fd7c
--- /dev/null
+++ b/gnu/packages/task-management.scm
@@ -0,0 +1,63 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2015 Tomáš Čech <sleep_walker@suse.cz>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages task-management)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix packages)
+  #:use-module (gnu packages base)
+  #:use-module (gnu packages gnutls)
+  #:use-module (gnu packages linux)
+  #:use-module (gnu packages lua)
+  #:use-module (guix download)
+  #:use-module (guix build-system cmake))
+
+(define-public taskwarrior
+  (package
+    (name "taskwarrior")
+    (version "2.4.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://taskwarrior.org/download/task-" version ".tar.gz"))
+       (sha256 (base32
+                "03d57zzjq0m0gr4cr6vzmdz1zwpk9rvmmpgm8vk9czzrdwrwl7i7"))))
+    (build-system cmake-build-system)
+    (inputs
+     `(("gnutls" ,gnutls)
+       ("lua" ,lua)
+       ("util-linux" ,util-linux)))
+    (arguments
+     `(#:tests? #f ; No tests implemented.
+       #:phases
+       (alist-cons-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"))
+        %standard-phases)))
+    (home-page "http://taskwarrior.org")
+    (synopsis
+     "Command line task manager")
+    (description
+     "Taskwarrior is a mature command line task manager following the Getting Things
+Done time management method.  It supports network synchronization, filtering
+and querying data, exposing task data in multiple formats to other tools.")
+    (license license:expat)))
-- 
2.2.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread
* Re: [PATCH v2] gnu: Add taskwarrior.
@ 2015-03-27 19:54 Tomáš Čech
  2015-04-20 20:50 ` [PATCH] " Tomáš Čech
  0 siblings, 1 reply; 6+ messages in thread
From: Tomáš Čech @ 2015-03-27 19:54 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1468 bytes --]

On Thu, Mar 26, 2015 at 06:03:45PM +0100, Ludovic Courtès wrote:
>Tomáš Čech <sleep_walker@gnu.org> skribis:
>
>> From: Tomáš Čech <sleep_walker@suse.cz>
>>
>> * gnu/packages/task.scm: New file.
>> * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
>
>To complement Cyril’s review:
>
>> +(define-module (gnu packages task)
>
>‘task-management’, as you proposed, would be better.  Would there be
>other packages in there?

I don't plan more packages ATM.

>> +    (description
>> +     "Taskwarrior is mature command line task manager following Getting Things
>
>Missing articles: “a mature”, “following the Getting Things Done ... method”.

Fixed.

>
>> +Done time management method.  It supports network synchronization, filtering
>> +and quering data, exposing task data in multiple formats to other tools which
>> +allowed to create healthy ecosystem of tools using taskwarrior.")
>
>Please remove “which allowed ...” (marketing stuff.)

Fixed. (it's my opinion, not marketing :)
>
>> +    ;; Taskwarrior is licensed under MIT license, which is identical to
>> +    ;; Expat License
>
>Please remove this comment.  It’s just that “MIT license” is an
>ambiguous name for the Expat license.

I'm really not friend of this. But I asked authors and they don't mind
call their license Expat in spite of their choice so I changed that as
you wish.

>Could you send an updated patch?

Sent.

Tomas

[-- Attachment #2: Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-05-03 20:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-11 21:02 [PATCH] gnu: Add taskwarrior Tomáš Čech
  -- strict thread matches above, loose matches on Subject: below --
2015-03-27 19:53 Tomáš Čech
2015-03-27 19:54 [PATCH v2] " Tomáš Čech
2015-04-20 20:50 ` [PATCH] " Tomáš Čech
2015-04-21  0:19   ` Eric Bavier
2015-05-01 11:37     ` Tomáš Čech
2015-05-03 20:00       ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.