lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

python310Packages.wfuzz: disable on unsupported Python releases

+21 -16
+21 -16
pkgs/development/python-modules/wfuzz/default.nix
··· 1 - { buildPythonPackage 1 + { lib 2 + , stdenv 3 + , buildPythonPackage 2 4 , chardet 3 5 , colorama 4 6 , fetchFromGitHub 5 - , future 6 - , isPy27 7 - , lib 8 - , mock 9 7 , netaddr 10 8 , pycurl 11 9 , pyparsing 12 10 , pytest 13 11 , pytestCheckHook 12 + , pythonOlder 14 13 , setuptools 15 14 , six 16 - , stdenv 17 15 }: 18 16 19 17 buildPythonPackage rec { 20 18 pname = "wfuzz"; 21 19 version = "3.1.0"; 20 + format = "setuptools"; 21 + 22 + disabled = pythonOlder "3.7"; 22 23 23 24 src = fetchFromGitHub { 24 25 owner = "xmendez"; 25 26 repo = pname; 26 27 rev = "v${version}"; 27 - sha256 = "1izasczm2zwknwzxbfzqhlf4zp02jvb54ha1hfk4rlwiz0rr1kj4"; 28 + hash = "sha256-RM6QM/iR00ymg0FBUtaWAtxPHIX4u9U/t5N/UT/T6sc="; 28 29 }; 29 30 30 31 propagatedBuildInputs = [ ··· 33 34 six 34 35 setuptools 35 36 pyparsing 36 - ] ++ lib.optionals isPy27 [ 37 - mock 38 - future 39 37 ] ++ lib.optionals stdenv.hostPlatform.isWindows [ 40 38 colorama 41 39 ]; ··· 44 42 netaddr 45 43 pytest 46 44 pytestCheckHook 47 - ] ++ lib.optionals isPy27 [ 48 - mock 45 + ]; 46 + 47 + preCheck = '' 48 + export HOME=$(mktemp -d) 49 + ''; 50 + 51 + disabledTestPaths = [ 52 + # The tests are requiring a local web server 53 + "tests/test_acceptance.py" 54 + "tests/acceptance/test_saved_filter.py" 49 55 ]; 50 56 51 - preCheck = "export HOME=$(mktemp -d)"; 52 - # The skipped tests are requiring a local web server 53 - pytestFlagsArray = [ "tests/test_{moduleman,filterintro,reqresp,api,clparser}.py" ]; 54 - pythonImportsCheck = [ "wfuzz" ]; 57 + pythonImportsCheck = [ 58 + "wfuzz" 59 + ]; 55 60 56 61 meta = with lib; { 57 62 description = "Web content fuzzer to facilitate web applications assessments";