about summary refs log tree commit diff
path: root/pkgs/tools/security
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-02-18 12:24:27 +0100
committerGitHub <noreply@github.com>2021-02-18 12:24:27 +0100
commit6c004c3c8258cd23b0d77301b39c1180033813d4 (patch)
tree246d9582e7271467b405dc5e37f67373446da32d /pkgs/tools/security
parenta9ad537c11dd394e90311a35d6c7ba3e0d1c4064 (diff)
parent532f995e2068acc00edc5d06e8ecce6c9194e4b0 (diff)
Merge pull request #113527 from fabaff/wafw00f
wafw00f: init at 2.1.0
Diffstat (limited to 'pkgs/tools/security')
-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 ];
+  };
+}