lol
1{ stdenv, fetchFromGitHub, autoreconfHook, libnet, libpcap }:
2
3stdenv.mkDerivation rec {
4 version = "2.19";
5 name = "arping-${version}";
6
7 buildInputs = [ libnet libpcap ];
8
9 src = fetchFromGitHub {
10 owner = "ThomasHabets";
11 repo = "arping";
12 rev = "arping-${version}";
13 sha256 = "10gpil6ic17x8v628vhz9s98rnw1k8ci2xs56i52pr103irirczw";
14 };
15
16 nativeBuildInputs = [ autoreconfHook ];
17
18 meta = with stdenv.lib; {
19 description = "Broadcasts a who-has ARP packet on the network and prints answers";
20 homepage = https://github.com/ThomasHabets/arping;
21 license = with licenses; [ gpl2 ];
22 maintainers = [ maintainers.michalrus ];
23 platforms = platforms.unix;
24 };
25}