Merge pull request #31164 from c0bw3b/pkg/htpdate

htpdate: 1.1.3 -> 1.2.0
This commit is contained in:
Orivej Desh 2017-11-03 00:02:08 +00:00 committed by GitHub
commit 9caf89c903
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,24 +1,26 @@
{ stdenv, fetchurl, coreutils, binutils }: { stdenv, fetchurl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "1.1.3"; version = "1.2.0";
name = "htpdate-${version}"; name = "htpdate-${version}";
src = fetchurl { src = fetchurl {
url = "http://twekkel.home.xs4all.nl/htp/htpdate-${version}.tar.gz"; url = "http://www.vervest.org/htp/archive/c/${name}.tar.xz";
sha256 = "0hfg4qrsmpqw03m9qwf3zgi4brbf65w6wd3w30nkamc7x8b4vn5i"; sha256 = "00xwppq3aj951m0srjvxmr17kiaaflyjmbfkvpnfs3jvqhzczci2";
}; };
installFlags = [ makeFlags = [
"INSTALL=${coreutils}/bin/install" "INSTALL=install"
"STRIP=${binutils}/bin/strip" "STRIP=strip"
"prefix=$(out)" "prefix=$(out)"
]; ];
meta = { enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Utility to fetch time and set the system clock over HTTP"; description = "Utility to fetch time and set the system clock over HTTP";
homepage = http://www.vervest.org/htp/; homepage = http://www.vervest.org/htp/;
platforms = stdenv.lib.platforms.linux; platforms = platforms.unix;
license = stdenv.lib.licenses.gpl2Plus; license = licenses.gpl2Plus;
}; };
} }