Zenmap - nmap graphical interface - now works
svn path=/nixpkgs/trunk/; revision=11269
This commit is contained in:
parent
0592ed6a11
commit
32bc662263
@ -1,5 +1,6 @@
|
|||||||
{stdenv, fetchurl, libpcap, libX11, gtk, pkgconfig,
|
{stdenv, fetchurl, libpcap, libX11, gtk, pkgconfig,
|
||||||
openssl, python, pygtk}:
|
openssl, python, pygtk, makeWrapper, pygobject,
|
||||||
|
pycairo, pysqlite}:
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "Nmap";
|
name = "Nmap";
|
||||||
|
|
||||||
@ -7,6 +8,10 @@ stdenv.mkDerivation {
|
|||||||
url = http://download.insecure.org/nmap/dist/nmap-4.60.tar.bz2;
|
url = http://download.insecure.org/nmap/dist/nmap-4.60.tar.bz2;
|
||||||
sha256 = "1jhway86lmrnyzvwi24ama1vrz89f9nmln29vr92kb31aw2nl30w"; };
|
sha256 = "1jhway86lmrnyzvwi24ama1vrz89f9nmln29vr92kb31aw2nl30w"; };
|
||||||
|
|
||||||
|
postInstall =''
|
||||||
|
wrapProgram $out/bin/zenmap --prefix PYTHONPATH : "$(toPythonPath $out)" --prefix PYTHONPATH : "$PYTHONPATH" --prefix PYTHONPATH : $(toPythonPath ${pygtk})/gtk-2.0 --prefix PYTHONPATH : $(toPythonPath ${pygobject})/gtk-2.0 --prefix PYTHONPATH : $(toPythonPath ${pycairo})/gtk-2.0
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = [libpcap libX11 gtk pkgconfig openssl python
|
buildInputs = [libpcap libX11 gtk pkgconfig openssl python
|
||||||
pygtk];
|
pygtk makeWrapper pysqlite];
|
||||||
}
|
}
|
||||||
|
@ -813,7 +813,8 @@ let pkgs = rec {
|
|||||||
|
|
||||||
nmap = import ../tools/security/nmap {
|
nmap = import ../tools/security/nmap {
|
||||||
inherit fetchurl stdenv libpcap pkgconfig openssl
|
inherit fetchurl stdenv libpcap pkgconfig openssl
|
||||||
python pygtk;
|
python pygtk makeWrapper pygobject pycairo
|
||||||
|
pysqlite;
|
||||||
inherit (xlibs) libX11;
|
inherit (xlibs) libX11;
|
||||||
inherit (gtkLibs) gtk;
|
inherit (gtkLibs) gtk;
|
||||||
};
|
};
|
||||||
@ -6222,9 +6223,11 @@ let pkgs = rec {
|
|||||||
pythonBindings = true; # Enable python bindings
|
pythonBindings = true; # Enable python bindings
|
||||||
};
|
};
|
||||||
|
|
||||||
pysqlite = import ../development/libraries/pysqlite {
|
inherit pysqlite;
|
||||||
inherit stdenv fetchurl python sqlite;
|
};
|
||||||
};
|
|
||||||
|
pysqlite = import ../development/libraries/pysqlite {
|
||||||
|
inherit stdenv fetchurl python sqlite;
|
||||||
};
|
};
|
||||||
|
|
||||||
wine = import ../misc/emulators/wine {
|
wine = import ../misc/emulators/wine {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user