nixpkgs/pkgs/tools/networking/fping/default.nix
2022-02-12 10:32:29 +01:00

21 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;
};
}