nixpkgs/pkgs/tools/networking/htpdate/default.nix
R. RyanTM ba4ea421b8 htpdate: 1.2.0 -> 1.2.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/htpdate/versions
2019-07-15 07:03:54 -07:00

26 lines
634 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
version = "1.2.1";
name = "htpdate-${version}";
src = fetchurl {
url = "http://www.vervest.org/htp/archive/c/${name}.tar.xz";
sha256 = "1gqw3lg4wwkn8snf4pf21s3qidhb4h791f2ci7i7i0d6kd86jv0q";
};
makeFlags = [
"INSTALL=install"
"STRIP=${stdenv.cc.bintools.targetPrefix}strip"
"prefix=$(out)"
];
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 = platforms.linux;
license = licenses.gpl2Plus;
};
}