12 stdenv.mkDerivation rec {
16 src = fetchFromGitHub {
17 owner = "folkertvanheusden";
20 hash = "sha256-aExTXXtW03UKMuMjTMx1k/MUpcRMh1PdSPkDGH+Od70=";
24 # Pull upstream fix for missing <unistd.h>
25 # https://github.com/folkertvanheusden/HTTPing/pull/8
27 name = "add-unistd.patch";
28 url = "https://github.com/folkertvanheusden/HTTPing/commit/aad3c275686344fe9a235faeac4ee3832f3aa8d5.patch";
29 hash = "sha256-bz3AMQTSfSTwUyf9WbkAFWVmFo06ei+Qd55x+RRDREY=";
50 homepage = "https://vanheusden.com/httping";
51 description = "ping with HTTP requests";
53 Give httping an url, and it'll show you how long it takes to connect,
54 send a request and retrieve the reply (only the headers). Be aware that
55 the transmission across the network also takes time! So it measures the
56 latency of the webserver + network. It supports IPv6.
58 license = licenses.agpl3Only;
60 platforms = platforms.linux ++ platforms.darwin;
61 mainProgram = "httping";