Adding pwnat.
This commit is contained in:
parent
e64b223c8b
commit
a8b576ecaf
24
pkgs/tools/networking/pwnat/default.nix
Normal file
24
pkgs/tools/networking/pwnat/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "pwnat-0.3-beta";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://samy.pl/pwnat/${name}.tgz";
|
||||
sha256 = "18ihs6wk7zni2w0pqip7i61hyi6n60v5rgj6z7j543fgy4afmmnm";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
ensureDir $out/bin $out/share/pwnat
|
||||
cp pwnat $out/bin
|
||||
cp README* COPYING* $out/share/pwnat
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://samy.pl/pwnat/;
|
||||
description = "ICMP NAT to NAT client-server communication";
|
||||
license = "GPLv3+";
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
}
|
||||
}
|
@ -1465,6 +1465,8 @@ let
|
||||
|
||||
pwgen = callPackage ../tools/security/pwgen { };
|
||||
|
||||
pwnat = callPackage ../tools/networking/pwnat { };
|
||||
|
||||
pydb = callPackage ../development/tools/pydb { };
|
||||
|
||||
pystringtemplate = callPackage ../development/python-modules/stringtemplate { };
|
||||
|
Loading…
Reference in New Issue
Block a user