2014-10-26 02:08:00 +01:00
|
|
|
{ stdenv, fetchurl, cmake, libuuid, gnutls }:
|
2011-12-29 23:14:08 +01:00
|
|
|
|
2013-04-08 05:58:23 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "taskwarrior-${version}";
|
taskwarrior: 2.4.4 -> 2.5.0
Paste from the changelog:
There have been a lot of changes. Here are the highlights:
* Improved command line parser: terminator -- handling, UUID
recognition, DOM recognition, red-herring pairs (foo:bar), escaped
slashes in patterns (/one\/two/), substitutions (/one\/two/one-two/),
Unicode U+NNNN and \uNNNN, escaped entities (\n, \t etc) for use in
descriptions/annotations, abbreviated day and month names, ISO-8601
durations (PT4H, P1Y etc).
* New virtual tags UDA, ORPHAN, PROJECT, PRIORITY, and LATEST.
* Improved support for DOM references in filters task
'due.year = 2015 and due.week > 20' list.
* New configuration settings urgency.inherit, rule.color.merge,
urgency.user.tag.next.coefficient, color.uda.<name>.none, sugar,
report.<name>.sort:none, json.depends.array.
* Improved urgency: the urgency.inherit setting propagates urgency
along dependency chains.
* Improved searching: more powerful regular expressions.
* Improved attribute modifiers: is/isnt are now consistent exact
match operator equivalents to ==/!==.
* New command _unique, for generating unique lists of values, and
will ultimately replace several helper commands.
* New command commands, which lists commands and details about how
they affect filters, GC, context, and syntax.
* New verbosity tokens recur (feedback when a recurring task instance
is created), unwait (for when a waiting task becomes visible).
* Improved extensions: zsh completion, Fish shell completion, add-on
scripts now online.
* Improved documentation: help command, man pages, more online docs,
negation ! operator, sample hook scripts.
* Improved sync: GnuTLS now mandatory, so everyone has the sync
command.
* Improved JSON import/export support: free-format JSON, task arrays
assumed (which makes import/export work with out-of-the-box parsers),
dependencies optionally modeled as an array, UUIDs validated, tasks
added/updated without duplication, import from STDIN using -.
* Improved performance: less data is read from disk depending on the
filter.
* Improved diagnostics: duplicate dependency warnings, multi-task
edit failures, changes to tasks without IDs, certificate file sizes.
* Improved testing: migrated all Perl tests to Python, parallelized
test suite, colorized output, detection of newly passing tests,
Python 2.7 and 3 support, better debug output, Bash test library,
stress test tool, no more disabled tests - everything runs, test
coverage is now 87.3%.
* Widespread code cleanup, removal of dead code, C++11 enhancements,
improved portability, merged ISO-8601 and legacy durations, less
code, happier developers.
2015-10-23 16:17:34 +02:00
|
|
|
version = "2.5.0";
|
2011-12-29 23:14:08 +01:00
|
|
|
|
2012-10-11 08:50:53 +02:00
|
|
|
enableParallelBuilding = true;
|
2012-06-22 14:51:41 +02:00
|
|
|
|
2012-10-11 08:50:53 +02:00
|
|
|
src = fetchurl {
|
2013-04-08 05:58:23 +02:00
|
|
|
url = "http://www.taskwarrior.org/download/task-${version}.tar.gz";
|
taskwarrior: 2.4.4 -> 2.5.0
Paste from the changelog:
There have been a lot of changes. Here are the highlights:
* Improved command line parser: terminator -- handling, UUID
recognition, DOM recognition, red-herring pairs (foo:bar), escaped
slashes in patterns (/one\/two/), substitutions (/one\/two/one-two/),
Unicode U+NNNN and \uNNNN, escaped entities (\n, \t etc) for use in
descriptions/annotations, abbreviated day and month names, ISO-8601
durations (PT4H, P1Y etc).
* New virtual tags UDA, ORPHAN, PROJECT, PRIORITY, and LATEST.
* Improved support for DOM references in filters task
'due.year = 2015 and due.week > 20' list.
* New configuration settings urgency.inherit, rule.color.merge,
urgency.user.tag.next.coefficient, color.uda.<name>.none, sugar,
report.<name>.sort:none, json.depends.array.
* Improved urgency: the urgency.inherit setting propagates urgency
along dependency chains.
* Improved searching: more powerful regular expressions.
* Improved attribute modifiers: is/isnt are now consistent exact
match operator equivalents to ==/!==.
* New command _unique, for generating unique lists of values, and
will ultimately replace several helper commands.
* New command commands, which lists commands and details about how
they affect filters, GC, context, and syntax.
* New verbosity tokens recur (feedback when a recurring task instance
is created), unwait (for when a waiting task becomes visible).
* Improved extensions: zsh completion, Fish shell completion, add-on
scripts now online.
* Improved documentation: help command, man pages, more online docs,
negation ! operator, sample hook scripts.
* Improved sync: GnuTLS now mandatory, so everyone has the sync
command.
* Improved JSON import/export support: free-format JSON, task arrays
assumed (which makes import/export work with out-of-the-box parsers),
dependencies optionally modeled as an array, UUIDs validated, tasks
added/updated without duplication, import from STDIN using -.
* Improved performance: less data is read from disk depending on the
filter.
* Improved diagnostics: duplicate dependency warnings, multi-task
edit failures, changes to tasks without IDs, certificate file sizes.
* Improved testing: migrated all Perl tests to Python, parallelized
test suite, colorized output, detection of newly passing tests,
Python 2.7 and 3 support, better debug output, Bash test library,
stress test tool, no more disabled tests - everything runs, test
coverage is now 87.3%.
* Widespread code cleanup, removal of dead code, C++11 enhancements,
improved portability, merged ISO-8601 and legacy durations, less
code, happier developers.
2015-10-23 16:17:34 +02:00
|
|
|
sha256 = "0dj66c4pwdmfnzdlm1r23gqim6banycyzvmq266114v9b90ng3jd";
|
2012-06-22 14:51:41 +02:00
|
|
|
};
|
|
|
|
|
2014-10-26 02:08:00 +01:00
|
|
|
nativeBuildInputs = [ cmake libuuid gnutls ];
|
2012-06-22 14:51:41 +02:00
|
|
|
|
2015-01-18 14:13:53 +01:00
|
|
|
postInstall = ''
|
|
|
|
mkdir -p "$out/etc/bash_completion.d"
|
|
|
|
ln -s "../../share/doc/task/scripts/bash/task.sh" "$out/etc/bash_completion.d/"
|
|
|
|
'';
|
|
|
|
|
2015-06-22 08:25:07 +02:00
|
|
|
meta = with stdenv.lib; {
|
2012-10-11 08:50:53 +02:00
|
|
|
description = "GTD (getting things done) implementation";
|
|
|
|
homepage = http://taskwarrior.org;
|
2015-06-22 08:25:07 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ marcweber jgeerds ];
|
|
|
|
platforms = platforms.linux;
|
2011-12-29 23:14:08 +01:00
|
|
|
};
|
|
|
|
}
|