2024-05-15 15:35:15 +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";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "5.2";
|
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";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-p2ktENc/sLt24fdFmqfxm7zb/Frb7e8C9GiXSxiw5C8=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--enable-ipv6"
|
|
|
|
"--enable-ipv4"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Send ICMP echo probes to network hosts";
|
2024-05-15 15:35:15 +00:00
|
|
|
homepage = "http://fping.org/";
|
|
|
|
changelog = "https://github.com/schweikert/fping/releases/tag/v${version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.bsd0;
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "fping";
|
2024-05-15 15:35:15 +00:00
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
platforms = platforms.all;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|