2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-05 21:33:18 +00:00
|
|
|
pname = "fping";
|
2022-02-20 05:27:41 +00:00
|
|
|
version = "5.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-05 21:33:18 +00:00
|
|
|
url = "https://www.fping.org/dist/fping-${version}.tar.gz";
|
2022-02-20 05:27:41 +00:00
|
|
|
sha256 = "sha256-HuUmjAY9dmRq8rRCYFLn2BpCtlfmp32OfT0uYP10Cf4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-ipv6" "--enable-ipv4" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://fping.org/";
|
|
|
|
description = "Send ICMP echo probes to network hosts";
|
|
|
|
license = licenses.bsd0;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|