1 {lib, stdenv, fetchFromGitHub, libssh}:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "0p1fvpgrsy44yvj44xp9k9nf6z1fh0sqcjvy75pcb9f5icgms815";
14 buildInputs = [ libssh ];
17 $CXX -Wall -I ext/ -o bin/sshping src/sshping.cxx -lssh
21 install -Dm755 bin/sshping $out/bin/sshping
25 homepage = "https://github.com/spook/sshping";
26 description = "Measure character-echo latency and bandwidth for an interactive ssh session";
27 license = licenses.mit;
28 platforms = platforms.unix;
29 maintainers = with maintainers; [ jqueiroz ];
30 mainProgram = "sshping";