nixpkgs/pkgs/tools/networking/fping/default.nix
2018-08-20 00:27:04 +02:00

20 lines
518 B
Nix

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