at 17.09-beta 1.0 kB view raw
1{ stdenv, fetchurl, gettext, ncurses, openssl 2, fftw ? null }: 3 4stdenv.mkDerivation rec { 5 name = "httping-${version}"; 6 version = "2.5"; 7 8 src = fetchurl { 9 url = "https://www.vanheusden.com/httping/${name}.tgz"; 10 sha256 = "1y7sbgkhgadmd93x1zafqc4yp26ssiv16ni5bbi9vmvvdl55m29y"; 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 license = licenses.agpl3; 31 maintainers = with maintainers; [ nckx rickynils ]; 32 platforms = platforms.linux; 33 }; 34}