3
0
Fork 0
forked from mirrors/nixpkgs

htpdate: 1.1.3 -> 1.2.0

This commit is contained in:
Renaud 2017-11-03 00:21:16 +01:00 committed by GitHub
parent a41342ba58
commit 6d80920ab9
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;
};
}