depot/third_party/nixpkgs/pkgs/tools/networking/arping/default.nix
Default email aa526eb20f Project import generated by Copybara.
GitOrigin-RevId: fcd48a5a0693f016a5c370460d0c2a8243b882dc
2022-03-10 11:12:11 -08:00

36 lines
711 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, libnet
, libpcap
}:
stdenv.mkDerivation rec {
pname = "arping";
version = "2.23";
src = fetchFromGitHub {
owner = "ThomasHabets";
repo = pname;
rev = "${pname}-${version}";
hash = "sha256-Yn0EFb23VJvcVluQhwGHg9cdnZ8LKlBEds7cq8Irftc=";
};
nativeBuildInputs = [
autoreconfHook
];
buildInputs = [
libnet
libpcap
];
meta = with lib; {
description = "Broadcasts a who-has ARP packet on the network and prints answers";
homepage = "https://github.com/ThomasHabets/arping";
license = with licenses; [ gpl2Plus ];
maintainers = with maintainers; [ michalrus ];
platforms = platforms.unix;
};
}