summary refs log tree commit diff
path: root/pkgs/tools/networking/fping/default.nix
blob: e0cd0ff8849a8790e5b4e7f1abe51218e22b29cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, fetchurl }:

stdenv.mkDerivation rec {
  name = "fping-4.1";

  src = fetchurl {
    url = "https://www.fping.org/dist/${name}.tar.gz";
    sha256 = "0wxbvm480vij8dy4v1pi8f0c7010rx6bidg3qhsvkdf2ijhy4cr7";
  };

  configureFlags = [ "--enable-ipv6" "--enable-ipv4" ];

  meta = with stdenv.lib; {
    homepage = http://fping.org/;
    description = "Send ICMP echo probes to network hosts";
    maintainers = with maintainers; [ the-kenny ];
    license = licenses.bsd0;
    platforms = platforms.all;
  };
}