lol
at v192 35 lines 995 B view raw
1{ stdenv, fetchurl, gettext, ncurses, openssl 2, fftw ? null }: 3 4stdenv.mkDerivation rec { 5 name = "httping-${version}"; 6 7 version = "2.4"; 8 9 src = fetchurl { 10 url = "http://www.vanheusden.com/httping/${name}.tgz"; 11 sha256 = "1110r3gpsj9xmybdw7w4zkhj3zmn5mnv2nq0ijbvrywbn019zdfs"; 12 }; 13 14 buildInputs = [ fftw ncurses openssl ]; 15 nativeBuildInputs = [ gettext ]; 16 17 makeFlags = [ 18 "DESTDIR=$(out)" 19 "PREFIX=" 20 ]; 21 22 meta = with stdenv.lib; { 23 inherit version; 24 homepage = http://www.vanheusden.com/httping; 25 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 ''; 32 maintainers = with maintainers; [ nckx rickynils ]; 33 platforms = platforms.linux; 34 }; 35}