nixpkgs/pkgs/tools/networking/fping/default.nix

20 lines
467 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
2013-02-04 09:45:47 +00:00
stdenv.mkDerivation rec {
2020-08-14 00:01:35 +00:00
name = "fping-5.0";
2013-02-04 09:45:47 +00:00
src = fetchurl {
url = "https://www.fping.org/dist/${name}.tar.gz";
2020-08-14 00:01:35 +00:00
sha256 = "1f2prmii4fyl44cfykp40hp4jjhicrhddh9v3dfs11j6nsww0f7d";
2013-02-04 09:45:47 +00:00
};
configureFlags = [ "--enable-ipv6" "--enable-ipv4" ];
meta = with lib; {
homepage = "http://fping.org/";
description = "Send ICMP echo probes to network hosts";
2018-08-19 22:27:04 +00:00
license = licenses.bsd0;
platforms = platforms.all;
2013-02-04 09:45:47 +00:00
};
}