From 4dbaefa2185e89eb2c1308ed230ca9fe2d7d6024 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 11 Sep 2015 21:49:54 +0200 Subject: [PATCH] httping: add optional fftw for better graphing Enabled by default. --- pkgs/tools/networking/httping/default.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/httping/default.nix b/pkgs/tools/networking/httping/default.nix index a0ec6a5513cb..9b1de33cf6d2 100644 --- a/pkgs/tools/networking/httping/default.nix +++ b/pkgs/tools/networking/httping/default.nix @@ -1,4 +1,5 @@ -{ stdenv, fetchurl, gettext, ncurses, openssl }: +{ stdenv, fetchurl, gettext, ncurses, openssl +, fftw ? null }: stdenv.mkDerivation rec { name = "httping-${version}"; @@ -10,7 +11,7 @@ stdenv.mkDerivation rec { sha256 = "1110r3gpsj9xmybdw7w4zkhj3zmn5mnv2nq0ijbvrywbn019zdfs"; }; - buildInputs = [ ncurses openssl ]; + buildInputs = [ fftw ncurses openssl ]; nativeBuildInputs = [ gettext ]; makeFlags = [ @@ -22,7 +23,13 @@ stdenv.mkDerivation rec { inherit version; homepage = http://www.vanheusden.com/httping; description = "ping with HTTP requests"; + longDescription = '' + Give httping an url, and it'll show you how long it takes to connect, + send a request and retrieve the reply (only the headers). Be aware that + the transmission across the network also takes time! So it measures the + latency of the webserver + network. It supports IPv6. + ''; maintainers = with maintainers; [ nckx rickynils ]; - platforms = with platforms; linux; + platforms = platforms.linux; }; }