Updated nmap

svn path=/nixpkgs/trunk/; revision=11267
This commit is contained in:
Michael Raskin 2008-03-22 19:52:11 +00:00
parent 3001f31b44
commit 712ba6a25c
2 changed files with 8 additions and 6 deletions

View File

@ -1,11 +1,12 @@
{stdenv, fetchurl, libpcap, libX11, gtk, pkgconfig}: {stdenv, fetchurl, libpcap, libX11, gtk, pkgconfig,
openssl, python, pygtk}:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "Nmap"; name = "Nmap";
src = fetchurl { src = fetchurl {
url = http://insecure.org/nmap/dist/nmap-4.21ALPHA4.tar.bz2; url = http://download.insecure.org/nmap/dist/nmap-4.60.tar.bz2;
md5 = "eae883e12f3640f7c52d66e0844d0ab1"; sha256 = "1jhway86lmrnyzvwi24ama1vrz89f9nmln29vr92kb31aw2nl30w"; };
};
buildInputs = [libpcap libX11 gtk pkgconfig]; buildInputs = [libpcap libX11 gtk pkgconfig openssl python
pygtk];
} }

View File

@ -812,7 +812,8 @@ let pkgs = rec {
}; };
nmap = import ../tools/security/nmap { nmap = import ../tools/security/nmap {
inherit fetchurl stdenv libpcap pkgconfig; inherit fetchurl stdenv libpcap pkgconfig openssl
python pygtk;
inherit (xlibs) libX11; inherit (xlibs) libX11;
inherit (gtkLibs) gtk; inherit (gtkLibs) gtk;
}; };