Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
39 lines
748 B
Nix
39 lines
748 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
libnet,
|
|
libpcap,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "arping";
|
|
version = "2.26";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ThomasHabets";
|
|
repo = "arping";
|
|
rev = "arping-${version}";
|
|
hash = "sha256-uZsUo12ez6sz95fmOg5cmVBJNRH3eEhio8V2efQ29BU=";
|
|
};
|
|
|
|
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;
|
|
mainProgram = "arping";
|
|
};
|
|
}
|