3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/security/wafw00f/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
751 B
Nix
Raw Normal View History

2021-02-17 22:56:56 +00:00
{ lib
, fetchFromGitHub
, python3
2021-02-17 22:56:56 +00:00
}:
python3.pkgs.buildPythonApplication rec {
2021-02-17 22:56:56 +00:00
pname = "wafw00f";
version = "2.1.0";
format = "setuptools";
2021-02-17 22:56:56 +00:00
src = fetchFromGitHub {
owner = "EnableSecurity";
repo = pname;
rev = "v${version}";
sha256 = "0526kz6ypww9nxc2vddkhpn1gqvn25mzj3wmi91wwxwxjjb6w4qj";
};
propagatedBuildInputs = with python3.pkgs; [
2021-02-17 22:56:56 +00:00
requests
pluginbase
];
# Project has no tests
doCheck = false;
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 ];
};
}