at release-16.03-start 33 lines 973 B view raw
1{ stdenv, fetchurl, gettext, ncurses, openssl 2, fftw ? null }: 3 4stdenv.mkDerivation rec { 5 name = "httping-${version}"; 6 version = "2.4"; 7 8 src = fetchurl { 9 url = "http://www.vanheusden.com/httping/${name}.tgz"; 10 sha256 = "1110r3gpsj9xmybdw7w4zkhj3zmn5mnv2nq0ijbvrywbn019zdfs"; 11 }; 12 13 buildInputs = [ fftw ncurses openssl ]; 14 nativeBuildInputs = [ gettext ]; 15 16 makeFlags = [ 17 "DESTDIR=$(out)" 18 "PREFIX=" 19 ]; 20 21 meta = with stdenv.lib; { 22 homepage = http://www.vanheusden.com/httping; 23 description = "ping with HTTP requests"; 24 longDescription = '' 25 Give httping an url, and it'll show you how long it takes to connect, 26 send a request and retrieve the reply (only the headers). Be aware that 27 the transmission across the network also takes time! So it measures the 28 latency of the webserver + network. It supports IPv6. 29 ''; 30 maintainers = with maintainers; [ nckx rickynils ]; 31 platforms = platforms.linux; 32 }; 33}