mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
042b9c88aa
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
27 lines
636 B
Nix
27 lines
636 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.2.2";
|
|
pname = "htpdate";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.vervest.org/htp/archive/c/${pname}-${version}.tar.xz";
|
|
sha256 = "0mgr350qwgzrdrwkb9kaj6z7l6hn6a2pwh7sacqvnal5fyc9a7sz";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|