nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 name = "fping-4.2";
5
6 src = fetchurl {
7 url = "https://www.fping.org/dist/${name}.tar.gz";
8 sha256 = "0jmnf4vmr43aiwk3h2b5qdsb95gxar8gz1yli8fswnm9nrs9ccvx";
9 };
10
11 configureFlags = [ "--enable-ipv6" "--enable-ipv4" ];
12
13 meta = with stdenv.lib; {
14 homepage = http://fping.org/;
15 description = "Send ICMP echo probes to network hosts";
16 maintainers = with maintainers; [ the-kenny ];
17 license = licenses.bsd0;
18 platforms = platforms.all;
19 };
20}