python3Packages.python-nmap: 0.6.4 -> 0.7.1
This commit is contained in:
parent
b870c24f93
commit
90cb25cea1
1 changed files with 11 additions and 5 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue