depot/third_party/nixpkgs/pkgs/tools/networking/fping/default.nix
Default email 792b51d22f Project import generated by Copybara.
GitOrigin-RevId: d5f237872975e6fb6f76eef1368b5634ffcd266f
2022-02-20 05:27:41 +00:00

20 lines
491 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "fping";
version = "5.1";
src = fetchurl {
url = "https://www.fping.org/dist/fping-${version}.tar.gz";
sha256 = "sha256-HuUmjAY9dmRq8rRCYFLn2BpCtlfmp32OfT0uYP10Cf4=";
};
configureFlags = [ "--enable-ipv6" "--enable-ipv4" ];
meta = with lib; {
homepage = "http://fping.org/";
description = "Send ICMP echo probes to network hosts";
license = licenses.bsd0;
platforms = platforms.all;
};
}