python3Packages.python-nmap: 0.6.4 -> 0.7.1

This commit is contained in:
Fabian Affolter 2021-10-26 23:02:15 +02:00
parent b870c24f93
commit 90cb25cea1

View File

@ -6,22 +6,28 @@
buildPythonPackage rec {
pname = "python-nmap";
version = "0.6.4";
version = "0.7.1";
src = fetchPypi {
inherit pname version;
sha256 = "013q2797d9sf6mrj7x1hqfcql5gqgg50zgiifp2yypfa4k8cwjsx";
sha256 = "sha256-91r2uR3Y47DDH4adsyFj9iraaGlF5bfCX4S8D3+tO2Q=";
};
propagatedBuildInputs = [ nmap ];
propagatedBuildInputs = [
nmap
];
postPatch = ''
substituteInPlace setup.cfg --replace "universal=3" "universal=1"
substituteInPlace setup.cfg \
--replace "universal=3" "universal=1"
'';
# Tests requires sudo and performs scans
doCheck = false;
pythonImportsCheck = [ "nmap" ];
pythonImportsCheck = [
"nmap"
];
meta = with lib; {
description = "Python library which helps in using nmap";