2013-05-08 20:42:45 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
2013-05-09 11:21:10 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2013-05-08 20:42:45 +00:00
|
|
|
name = "pwnat-0.3-beta";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://samy.pl/pwnat/${name}.tgz";
|
|
|
|
sha256 = "18ihs6wk7zni2w0pqip7i61hyi6n60v5rgj6z7j543fgy4afmmnm";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
2013-05-09 11:21:10 +00:00
|
|
|
mkdir -p $out/bin $out/share/pwnat
|
2013-05-08 20:42:45 +00:00
|
|
|
cp pwnat $out/bin
|
|
|
|
cp README* COPYING* $out/share/pwnat
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://samy.pl/pwnat/;
|
|
|
|
description = "ICMP NAT to NAT client-server communication";
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2013-05-08 20:42:45 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
2013-05-08 20:50:54 +00:00
|
|
|
};
|
2013-05-08 20:42:45 +00:00
|
|
|
}
|