nixpkgs/pkgs/tools/networking/fping/default.nix
2020-04-10 17:54:53 +01:00

20 lines
520 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "fping-4.2";
src = fetchurl {
url = "https://www.fping.org/dist/${name}.tar.gz";
sha256 = "0jmnf4vmr43aiwk3h2b5qdsb95gxar8gz1yli8fswnm9nrs9ccvx";
};
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;
};
}