diff options
author | Michal Rus <m@michalrus.com> | 2018-02-23 06:15:04 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2018-02-23 05:15:04 +0000 |
commit | dbfcf2899c2f3cf61251d52338ccdd3d3a78bdc3 (patch) | |
tree | 6ff8c8a78bd6ad74ec47bb1660fa5e91f9678680 /pkgs/tools/networking/arpoison | |
parent | 3f47f618aec9d0cf54110df55bbd6d3ade8c95f3 (diff) | |
download | nixlib-dbfcf2899c2f3cf61251d52338ccdd3d3a78bdc3.tar nixlib-dbfcf2899c2f3cf61251d52338ccdd3d3a78bdc3.tar.gz nixlib-dbfcf2899c2f3cf61251d52338ccdd3d3a78bdc3.tar.bz2 nixlib-dbfcf2899c2f3cf61251d52338ccdd3d3a78bdc3.tar.lz nixlib-dbfcf2899c2f3cf61251d52338ccdd3d3a78bdc3.tar.xz nixlib-dbfcf2899c2f3cf61251d52338ccdd3d3a78bdc3.tar.zst nixlib-dbfcf2899c2f3cf61251d52338ccdd3d3a78bdc3.zip |
arpoison: init at 0.7 (#35109)
Diffstat (limited to 'pkgs/tools/networking/arpoison')
-rw-r--r-- | pkgs/tools/networking/arpoison/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/networking/arpoison/default.nix b/pkgs/tools/networking/arpoison/default.nix new file mode 100644 index 000000000000..cedd8597870b --- /dev/null +++ b/pkgs/tools/networking/arpoison/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchzip, libnet }: + +stdenv.mkDerivation rec { + name = "arpoison-0.7"; + + buildInputs = [ libnet ]; + + src = fetchzip { + url = "http://www.arpoison.net/${name}.tar.gz"; + sha256 = "0krhszx3s0qwfg4rma5a51ak71nnd9xfs2ibggc3hwiz506s2x37"; + }; + + postPatch = "substituteInPlace Makefile --replace gcc cc"; + + installPhase = '' + mkdir -p $out/bin $out/share/man/man8 + gzip arpoison.8 + cp arpoison $out/bin + cp arpoison.8.gz $out/share/man/man8 + ''; + + meta = with stdenv.lib; { + description = "UNIX arp cache update utility"; + homepage = http://www.arpoison.net/; + license = with licenses; [ gpl2 ]; + maintainers = [ maintainers.michalrus ]; + platforms = platforms.unix; + }; +} |