timewarrior: 1.1.1 -> 1.2.0

Switch to fetch sources from github.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
CC: Sampo Sorsa <sorsasampo@protonmail.com>
CC: Ingolf Wanger <contact@ingolf-wagner.de>
This commit is contained in:
Matthias Beyer 2019-11-24 14:42:09 +01:00
parent 27421fc6f0
commit cf38a146fd

View File

@ -1,14 +1,17 @@
{ stdenv, fetchurl, cmake }:
{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "timewarrior";
version = "1.1.1";
version = "1.2.0";
enableParallelBuilding = true;
src = fetchurl {
url = "https://taskwarrior.org/download/timew-${version}.tar.gz";
sha256 = "1jfcfzdwk5qqhxznj1bgy0sx3lnp3z5lqr9kch9a7iazwmi9lz8z";
src = fetchFromGitHub {
owner = "GothenburgBitFactory";
repo = "timewarrior";
rev = "v${version}";
sha256 = "0ci8kb7gdp1dsv6xj30nbz8lidrmn50pbriw26wv8mdhs17rfk7w";
fetchSubmodules = true;
};
nativeBuildInputs = [ cmake ];