summary refs log tree commit diff
path: root/pkgs/tools
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
parent2489d95c1c7411af79922076f2118474f4291108 (diff)
downloadnixpkgs-532f995e2068acc00edc5d06e8ecce6c9194e4b0.tar
nixpkgs-532f995e2068acc00edc5d06e8ecce6c9194e4b0.tar.gz
nixpkgs-532f995e2068acc00edc5d06e8ecce6c9194e4b0.tar.bz2
nixpkgs-532f995e2068acc00edc5d06e8ecce6c9194e4b0.tar.lz
nixpkgs-532f995e2068acc00edc5d06e8ecce6c9194e4b0.tar.xz
nixpkgs-532f995e2068acc00edc5d06e8ecce6c9194e4b0.tar.zst
nixpkgs-532f995e2068acc00edc5d06e8ecce6c9194e4b0.zip
wafw00f: init at 2.1.0
Diffstat (limited to 'pkgs/tools')
-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 00000000000..dae4f5a5ad0
--- /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 ];
+  };
+}