depot/third_party/nixpkgs/pkgs/tools/networking/fping/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

21 lines
518 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;
mainProgram = "fping";
};
}