Merge pull request #16404 from matthiasbeyer/update-timewarrior

timewarrior: 2016-03-29 -> 0.9.5.alpha
This commit is contained in:
zimbatm 2016-06-23 17:19:36 +01:00 committed by GitHub
commit bc1a09c6ee

View file

@ -1,19 +1,24 @@
{ stdenv, fetchgit, cmake, libuuid, gnutls }:
{ stdenv, fetchurl, cmake, libuuid, gnutls }:
stdenv.mkDerivation rec {
name = "timewarrior-${version}";
version = "2016-03-29";
version = "0.9.5.alpha";
enableParallelBuilding = true;
src = fetchgit {
url = "https://git.tasktools.org/scm/tm/timew.git";
rev = "2175849a81ddd03707dca7b4c9d69d8fa11e35f7";
sha256 = "0clhbm6093wnvpq0ypvx95095amvlzab0sz9kiflasw9mgnwisrv";
src = fetchurl {
url = "https://taskwarrior.org/download/timew-${version}.tar.gz";
sha256 = "154d5sgxcmz1b7g401c7s6sf7pkk0hh74dx6rss3vkamsjc4wgl8";
};
nativeBuildInputs = [ cmake ];
installPhase = ''
mkdir -p $out/{bin,share}
cp -rv doc/man $out/share/
cp src/timew $out/bin/
'';
meta = with stdenv.lib; {
description = "A command-line time tracker";
homepage = http://tasktools.org/projects/timewarrior.html;