|
|
|
@ -1,13 +1,12 @@ |
|
|
|
|
{ lib |
|
|
|
|
, buildPythonApplication |
|
|
|
|
, fetchFromGitHub |
|
|
|
|
, pluginbase |
|
|
|
|
, requests |
|
|
|
|
, python3 |
|
|
|
|
}: |
|
|
|
|
|
|
|
|
|
buildPythonApplication rec { |
|
|
|
|
python3.pkgs.buildPythonApplication rec { |
|
|
|
|
pname = "wafw00f"; |
|
|
|
|
version = "2.1.0"; |
|
|
|
|
format = "setuptools"; |
|
|
|
|
|
|
|
|
|
src = fetchFromGitHub { |
|
|
|
|
owner = "EnableSecurity"; |
|
|
|
@ -16,14 +15,17 @@ buildPythonApplication rec { |
|
|
|
|
sha256 = "0526kz6ypww9nxc2vddkhpn1gqvn25mzj3wmi91wwxwxjjb6w4qj"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ |
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [ |
|
|
|
|
requests |
|
|
|
|
pluginbase |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
# Project has no tests |
|
|
|
|
doCheck = false; |
|
|
|
|
pythonImportsCheck = [ "wafw00f" ]; |
|
|
|
|
|
|
|
|
|
pythonImportsCheck = [ |
|
|
|
|
"wafw00f" |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
|
description = "Tool to identify and fingerprint Web Application Firewalls (WAF)"; |
|
|
|
|