mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
htpdate: init at 1.1.3
This commit is contained in:
parent
7be4077832
commit
a83eadd81c
2 changed files with 26 additions and 0 deletions
24
pkgs/tools/networking/htpdate/default.nix
Normal file
24
pkgs/tools/networking/htpdate/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, fetchurl, coreutils, binutils }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.1.3";
|
||||
name = "htpdate-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://twekkel.home.xs4all.nl/htp/htpdate-${version}.tar.gz";
|
||||
sha256 = "0hfg4qrsmpqw03m9qwf3zgi4brbf65w6wd3w30nkamc7x8b4vn5i";
|
||||
};
|
||||
|
||||
installFlags = [
|
||||
"INSTALL=${coreutils}/bin/install"
|
||||
"STRIP=${binutils}/bin/strip"
|
||||
"prefix=$(out)"
|
||||
];
|
||||
|
||||
meta = {
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -2064,6 +2064,8 @@ in
|
|||
|
||||
hping = callPackage ../tools/networking/hping { };
|
||||
|
||||
htpdate = callPackage ../tools/networking/htpdate { };
|
||||
|
||||
http-prompt = callPackage ../tools/networking/http-prompt { };
|
||||
|
||||
httpie = callPackage ../tools/networking/httpie { };
|
||||
|
|
Loading…
Reference in a new issue