2021-02-17 22:56:56 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
2021-12-11 22:09:13 +00:00
|
|
|
, python3
|
2021-02-17 22:56:56 +00:00
|
|
|
}:
|
|
|
|
|
2021-12-11 22:09:13 +00:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2021-02-17 22:56:56 +00:00
|
|
|
pname = "wafw00f";
|
2022-07-19 03:54:37 +01:00
|
|
|
version = "2.2.0";
|
2021-12-11 22:09:13 +00:00
|
|
|
format = "setuptools";
|
2021-02-17 22:56:56 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "EnableSecurity";
|
|
|
|
repo = pname;
|
2022-07-19 03:54:37 +01:00
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
sha256 = "sha256-wJZ1/aRMFpE6Q5YAtGxXwxe2G9H/de+l3l0C5rwEWA8=";
|
2021-02-17 22:56:56 +00:00
|
|
|
};
|
|
|
|
|
2021-12-11 22:09:13 +00:00
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
2021-02-17 22:56:56 +00:00
|
|
|
requests
|
|
|
|
pluginbase
|
|
|
|
];
|
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
2021-12-11 22:09:13 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"wafw00f"
|
|
|
|
];
|
2021-02-17 22:56:56 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Tool to identify and fingerprint Web Application Firewalls (WAF)";
|
|
|
|
homepage = "https://github.com/EnableSecurity/wafw00f";
|
|
|
|
license = with licenses; [ bsd3 ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|