summary refs log tree commit diff
path: root/pkgs/tools/security/nmap/default.nix
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2016-08-14 13:52:23 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2016-08-14 13:52:42 +0200
commit7986b718f3129332454f105d86fb30ab78812943 (patch)
tree9d8f5c14d52c96dc01222613d77cc4defdbab487 /pkgs/tools/security/nmap/default.nix
parentdc24b7df63ae959d0d97e97aab125d85d5168a17 (diff)
downloadnixpkgs-7986b718f3129332454f105d86fb30ab78812943.tar
nixpkgs-7986b718f3129332454f105d86fb30ab78812943.tar.gz
nixpkgs-7986b718f3129332454f105d86fb30ab78812943.tar.bz2
nixpkgs-7986b718f3129332454f105d86fb30ab78812943.tar.lz
nixpkgs-7986b718f3129332454f105d86fb30ab78812943.tar.xz
nixpkgs-7986b718f3129332454f105d86fb30ab78812943.tar.zst
nixpkgs-7986b718f3129332454f105d86fb30ab78812943.zip
Remove pycairo from top-level
See #11567.
Diffstat (limited to 'pkgs/tools/security/nmap/default.nix')
-rw-r--r--pkgs/tools/security/nmap/default.nix11
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";