diff options
Diffstat (limited to 'pkgs/tools/security/nmap/default.nix')
-rw-r--r-- | pkgs/tools/security/nmap/default.nix | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/pkgs/tools/security/nmap/default.nix b/pkgs/tools/security/nmap/default.nix index 415f8f52a47..f9c7dba5660 100644 --- a/pkgs/tools/security/nmap/default.nix +++ b/pkgs/tools/security/nmap/default.nix @@ -2,16 +2,15 @@ , graphicalSupport ? false , libX11 ? null , gtk ? null -, python ? null -, pygtk ? null +, pythonPackages , makeWrapper ? null -, pygobject ? null -, pycairo ? null -, pysqlite ? null }: with stdenv.lib; -stdenv.mkDerivation rec { + +let + inherit (pythonPackages) python pygtk pygobject pycairo pysqlite; +in stdenv.mkDerivation rec { name = "nmap${optionalString graphicalSupport "-graphical"}-${version}"; version = "7.12"; |