fping: refactor

- add myself as maintainer
This commit is contained in:
Fabian Affolter 2024-04-28 10:54:29 +02:00 committed by Matthieu Coudron
parent 88e579fd28
commit 1072a0cf46

View File

@ -1,4 +1,7 @@
{ lib, stdenv, fetchurl }:
{ lib
, stdenv
, fetchurl
}:
stdenv.mkDerivation rec {
pname = "fping";
@ -6,16 +9,21 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "https://www.fping.org/dist/fping-${version}.tar.gz";
sha256 = "sha256-p2ktENc/sLt24fdFmqfxm7zb/Frb7e8C9GiXSxiw5C8=";
hash = "sha256-p2ktENc/sLt24fdFmqfxm7zb/Frb7e8C9GiXSxiw5C8=";
};
configureFlags = [ "--enable-ipv6" "--enable-ipv4" ];
configureFlags = [
"--enable-ipv6"
"--enable-ipv4"
];
meta = with lib; {
homepage = "http://fping.org/";
description = "Send ICMP echo probes to network hosts";
homepage = "http://fping.org/";
changelog = "https://github.com/schweikert/fping/releases/tag/v${version}";
license = licenses.bsd0;
platforms = platforms.all;
mainProgram = "fping";
maintainers = with maintainers; [ fab ];
platforms = platforms.all;
};
}