about summary refs log tree commit diff
path: root/pkgs/tools/security/wafw00f
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-02-17 23:56:56 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2021-02-17 23:56:56 +0100
commit532f995e2068acc00edc5d06e8ecce6c9194e4b0 (patch)
tree3dd2488cb5b466312c38d27d3cd5f54104700e7d /pkgs/tools/security/wafw00f
parent2489d95c1c7411af79922076f2118474f4291108 (diff)
wafw00f: init at 2.1.0
Diffstat (limited to 'pkgs/tools/security/wafw00f')
-rw-r--r--pkgs/tools/security/wafw00f/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/tools/security/wafw00f/default.nix b/pkgs/tools/security/wafw00f/default.nix
new file mode 100644
index 0000000000000..dae4f5a5ad0c6
--- /dev/null
+++ b/pkgs/tools/security/wafw00f/default.nix
@@ -0,0 +1,34 @@
+{ 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 ];
+  };
+}