bb5b50588c
GitOrigin-RevId: 9816b99e71c3504b0b4c1f8b2e004148460029d4
34 lines
726 B
Nix
34 lines
726 B
Nix
{ lib
|
|
, buildPythonApplication
|
|
, fetchFromGitHub
|
|
, pluginbase
|
|
, requests
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "wafw00f";
|
|
version = "2.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "EnableSecurity";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0526kz6ypww9nxc2vddkhpn1gqvn25mzj3wmi91wwxwxjjb6w4qj";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
pluginbase
|
|
];
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "wafw00f" ];
|
|
|
|
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 ];
|
|
};
|
|
}
|