python3Packages.python-nmap: init at 0.6.4
This commit is contained in:
parent
e9b3e36f44
commit
88fe05a59b
|
@ -0,0 +1,38 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, nmap
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "python-nmap";
|
||||||
|
version = "0.6.4";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "013q2797d9sf6mrj7x1hqfcql5gqgg50zgiifp2yypfa4k8cwjsx";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ nmap ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.cfg --replace "universal=3" "universal=1"
|
||||||
|
'';
|
||||||
|
|
||||||
|
# Tests requires sudo and performs scans
|
||||||
|
doCheck = false;
|
||||||
|
pythonImportsCheck = [ "nmap" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python library which helps in using nmap";
|
||||||
|
longDescription = ''
|
||||||
|
python-nmap is a Python library which helps in using nmap port scanner. It
|
||||||
|
allows to easily manipulate nmap scan results and will be a perfect tool
|
||||||
|
for systems administrators who want to automatize scanning task and reports.
|
||||||
|
It also supports nmap script outputs.
|
||||||
|
'';
|
||||||
|
homepage = "http://xael.org/pages/python-nmap-en.html";
|
||||||
|
license = with licenses; [ gpl3Plus ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -6493,6 +6493,8 @@ in {
|
||||||
inherit (pkgs) pkg-config;
|
inherit (pkgs) pkg-config;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
python-nmap = callPackage ../development/python-modules/python-nmap { };
|
||||||
|
|
||||||
python-nomad = callPackage ../development/python-modules/python-nomad { };
|
python-nomad = callPackage ../development/python-modules/python-nomad { };
|
||||||
|
|
||||||
python-oauth2 = callPackage ../development/python-modules/python-oauth2 { };
|
python-oauth2 = callPackage ../development/python-modules/python-oauth2 { };
|
||||||
|
|
Loading…
Reference in New Issue