git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #31164 from c0bw3b/pkg/htpdate

htpdate: 1.1.3 -> 1.2.0

commit9caf89c9034cdc66779f7f583088e444a22e4057 authorOrivej Desh <orivej@gmx.fr> dateFri 3 Nov 2017, 00:02 (9 years ago) parentc0a0d8b6d80920
1 file changed+12−10
pkgs/tools/networking/htpdate/default.nix+12−10
pkgs/tools/networking/htpdate/default.nix+12−10
@@ -1,24 +1,26 @@
1−{ stdenv, fetchurl, coreutils, binutils }:
1+{ stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
4− version = "1.1.3";
4+ version = "1.2.0";
55 name = "htpdate-${version}";
66
77 src = fetchurl {
8− url = "http://twekkel.home.xs4all.nl/htp/htpdate-${version}.tar.gz";
9− sha256 = "0hfg4qrsmpqw03m9qwf3zgi4brbf65w6wd3w30nkamc7x8b4vn5i";
8+ url = "http://www.vervest.org/htp/archive/c/${name}.tar.xz";
9+ sha256 = "00xwppq3aj951m0srjvxmr17kiaaflyjmbfkvpnfs3jvqhzczci2";
1010 };
1111
12− installFlags = [
13− "INSTALL=${coreutils}/bin/install"
14− "STRIP=${binutils}/bin/strip"
12+ makeFlags = [
13+ "INSTALL=install"
14+ "STRIP=strip"
1515 "prefix=$(out)"
1616 ];
1717
18− meta = {
18+ enableParallelBuilding = true;
19+
20+ meta = with stdenv.lib; {
1921 description = "Utility to fetch time and set the system clock over HTTP";
2022 homepage = http://www.vervest.org/htp/;
21− platforms = stdenv.lib.platforms.linux;
22− license = stdenv.lib.licenses.gpl2Plus;
23+ platforms = platforms.unix;
24+ license = licenses.gpl2Plus;
2325 };
2426}