git.iko.soy/typeable/nixpkgs
on master help sign in
htpdate: init at 1.1.3
commita83eadd81c1978a6f6235a31e7fe79c0bbf18b1a authorJookia <166291@gmail.com> dateWed 3 Aug 2016, 08:56 (10 years ago) parent7be4077
2 files changed+26
pkgs/tools/networking/htpdate/default.nix+24 pkgs/top-level/all-packages.nix+2
pkgs/tools/networking/htpdate/default.nixnew file+24
@@ -0,0 +1,24 @@
1+{ stdenv, fetchurl, coreutils, binutils }:
2+
3+stdenv.mkDerivation rec {
4+ version = "1.1.3";
5+ name = "htpdate-${version}";
6+
7+ src = fetchurl {
8+ url = "http://twekkel.home.xs4all.nl/htp/htpdate-${version}.tar.gz";
9+ sha256 = "0hfg4qrsmpqw03m9qwf3zgi4brbf65w6wd3w30nkamc7x8b4vn5i";
10+ };
11+
12+ installFlags = [
13+ "INSTALL=${coreutils}/bin/install"
14+ "STRIP=${binutils}/bin/strip"
15+ "prefix=$(out)"
16+ ];
17+
18+ meta = {
19+ description = "Utility to fetch time and set the system clock over HTTP";
20+ homepage = http://www.vervest.org/htp/;
21+ platforms = stdenv.lib.platforms.linux;
22+ license = stdenv.lib.licenses.gpl2Plus;
23+ };
24+}
pkgs/top-level/all-packages.nix+2
@@ -2064,6 +2064,8 @@ in
20642064
20652065 hping = callPackage ../tools/networking/hping { };
20662066
2067+ htpdate = callPackage ../tools/networking/htpdate { };
2068+
20672069 http-prompt = callPackage ../tools/networking/http-prompt { };
20682070
20692071 httpie = callPackage ../tools/networking/httpie { };