1 { lib, stdenv, fetchzip, libnet }:
3 stdenv.mkDerivation rec {
6 buildInputs = [ libnet ];
9 url = "http://www.arpoison.net/${name}.tar.gz";
10 sha256 = "0krhszx3s0qwfg4rma5a51ak71nnd9xfs2ibggc3hwiz506s2x37";
13 postPatch = "substituteInPlace Makefile --replace gcc cc";
16 mkdir -p $out/bin $out/share/man/man8
19 cp arpoison.8.gz $out/share/man/man8
23 description = "UNIX arp cache update utility";
24 homepage = "http://www.arpoison.net/";
25 license = with licenses; [ gpl2 ];
26 maintainers = [ maintainers.michalrus ];
27 platforms = platforms.unix;