httping: add optional fftw for better graphing

Enabled by default.
This commit is contained in:
Tobias Geerinckx-Rice 2015-09-11 21:49:54 +02:00
parent c2c70b5edd
commit 4dbaefa218

View File

@ -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;
};
}