about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-09-11 21:49:54 +0200
committerTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-09-11 22:28:40 +0200
commit4dbaefa2185e89eb2c1308ed230ca9fe2d7d6024 (patch)
treeb93c2d67ebb5f460981f0b383cbb4ac429752772
parentc2c70b5edd59a4364f8a81d1667a3ed7e9f1f49c (diff)
downloadnixlib-4dbaefa2185e89eb2c1308ed230ca9fe2d7d6024.tar
nixlib-4dbaefa2185e89eb2c1308ed230ca9fe2d7d6024.tar.gz
nixlib-4dbaefa2185e89eb2c1308ed230ca9fe2d7d6024.tar.bz2
nixlib-4dbaefa2185e89eb2c1308ed230ca9fe2d7d6024.tar.lz
nixlib-4dbaefa2185e89eb2c1308ed230ca9fe2d7d6024.tar.xz
nixlib-4dbaefa2185e89eb2c1308ed230ca9fe2d7d6024.tar.zst
nixlib-4dbaefa2185e89eb2c1308ed230ca9fe2d7d6024.zip
httping: add optional fftw for better graphing
Enabled by default.
-rw-r--r--pkgs/tools/networking/httping/default.nix13
1 files 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;
   };
 }