mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
python3Packages.netmap: init at 0.7.0.2
This commit is contained in:
parent
4ba0ccc59e
commit
e0d776fab3
3 changed files with 62 additions and 0 deletions
17
pkgs/development/python-modules/netmap/nmap-path.patch
Normal file
17
pkgs/development/python-modules/netmap/nmap-path.patch
Normal file
|
@ -0,0 +1,17 @@
|
|||
diff --git a/nmap/nmap.py b/nmap/nmap.py
|
||||
index 91c460d..8c5ff0a 100755
|
||||
--- a/nmap/nmap.py
|
||||
+++ b/nmap/nmap.py
|
||||
@@ -77,11 +77,7 @@ class PortScanner(object):
|
||||
def __init__(
|
||||
self,
|
||||
nmap_search_path=(
|
||||
- "nmap",
|
||||
- "/usr/bin/nmap",
|
||||
- "/usr/local/bin/nmap",
|
||||
- "/sw/bin/nmap",
|
||||
- "/opt/local/bin/nmap",
|
||||
+ "@nmap@",
|
||||
),
|
||||
):
|
||||
"""
|
Loading…
Add table
Add a link
Reference in a new issue