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