7 buildPythonPackage rec {
10 format = "setuptools";
13 inherit pname version;
14 hash = "sha256-91r2uR3Y47DDH4adsyFj9iraaGlF5bfCX4S8D3+tO2Q=";
17 propagatedBuildInputs = [
22 substituteInPlace setup.cfg \
23 --replace "universal=3" "universal=1"
26 # Tests requires sudo and performs scans
29 pythonImportsCheck = [
34 description = "Python library which helps in using nmap";
36 python-nmap is a Python library which helps in using nmap port scanner. It
37 allows to easily manipulate nmap scan results and will be a perfect tool
38 for systems administrators who want to automatize scanning task and reports.
39 It also supports nmap script outputs.
41 homepage = "http://xael.org/pages/python-nmap-en.html";
42 license = with licenses; [ gpl3Plus ];
43 maintainers = with maintainers; [ fab ];