@@ -1,15 +1,14 @@
11{stdenv, fetchurl}:
22
3−stdenv.mkDerivation {
4− name = "time-1.7";
3+stdenv.mkDerivation rec {
4+ name = "time-${version}";
5+ version = "1.8";
56
67 src = fetchurl {
7− url = mirror://gnu/time/time-1.7.tar.gz;
8− sha256 = "0va9063fcn7xykv658v2s9gilj2fq4rcdxx2mn2mmy1v4ndafzp3";
8+ url = "mirror://gnu/time/${name}.tar.gz";
9+ sha256 = "06rfg8dn0q2r8pdq8i6brrs6rqrsgvkwbbl4kfx3a6lnal0m8bwa";
910 };
1011
11− patches = [ ./max-resident.patch ];
12−
1312 meta = {
1413 description = "Tool that runs programs and summarizes the system resources they use";
1514
@@ -27,7 +26,7 @@ stdenv.mkDerivation {
2726 `time' reports unavailable information as zero values.
2827 '';
2928
30− license = stdenv.lib.licenses.gpl2Plus;
29+ license = stdenv.lib.licenses.gpl3Plus;
3130 homepage = http://www.gnu.org/software/time/;
3231 platforms = stdenv.lib.platforms.unix;
3332 };