depot/third_party/nixpkgs/pkgs/tools/networking/fping/default.nix
Default email a3bb8d7922 Project import generated by Copybara.
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
2021-08-06 00:33:18 +03:00

20 lines
492 B
Nix

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