@@ -1,4 +1,5 @@
1−{ stdenv, fetchurl, gettext, ncurses, openssl }:
1+{ stdenv, fetchurl, gettext, ncurses, openssl
2+, fftw ? null }:
23
34stdenv.mkDerivation rec {
45 name = "httping-${version}";
@@ -10,7 +11,7 @@ stdenv.mkDerivation rec {
1011 sha256 = "1110r3gpsj9xmybdw7w4zkhj3zmn5mnv2nq0ijbvrywbn019zdfs";
1112 };
1213
13− buildInputs = [ ncurses openssl ];
14+ buildInputs = [ fftw ncurses openssl ];
1415 nativeBuildInputs = [ gettext ];
1516
1617 makeFlags = [
@@ -22,7 +23,13 @@ stdenv.mkDerivation rec {
2223 inherit version;
2324 homepage = http://www.vanheusden.com/httping;
2425 description = "ping with HTTP requests";
26+ longDescription = ''
27+ Give httping an url, and it'll show you how long it takes to connect,
28+ send a request and retrieve the reply (only the headers). Be aware that
29+ the transmission across the network also takes time! So it measures the
30+ latency of the webserver + network. It supports IPv6.
31+ '';
2532 maintainers = with maintainers; [ nckx rickynils ];
26− platforms = with platforms; linux;
33+ platforms = platforms.linux;
2734 };
2835}