* Proper name attribute.
svn path=/nixpkgs/trunk/; revision=11879
This commit is contained in:
parent
e37d384491
commit
c741baeb4e
@ -1,17 +1,21 @@
|
|||||||
{stdenv, fetchurl, libpcap, libX11, gtk, pkgconfig,
|
{ stdenv, fetchurl, libpcap, libX11, gtk, pkgconfig
|
||||||
openssl, python, pygtk, makeWrapper, pygobject,
|
, openssl, python, pygtk, makeWrapper, pygobject
|
||||||
pycairo, pysqlite}:
|
, pycairo, pysqlite
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "Nmap";
|
name = "nmap-4.60";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
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 =''
|
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
|
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 = [
|
||||||
pygtk makeWrapper pysqlite];
|
libpcap libX11 gtk pkgconfig openssl python pygtk makeWrapper pysqlite
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user