summary refs log tree commit diff
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-01-18 23:20:22 +0100
committerGitHub <noreply@github.com>2021-01-18 23:20:22 +0100
commit4773a2675b3a029b3daa8769b8c4c31acb607325 (patch)
treee7d77b28071dfaedc1166b183a062d86edd1265f
parentfe6f954b137e7393fa710cbad22e0a380607a0e5 (diff)
parent30cdf00e36da210c355421904fa46aa38003ab1c (diff)
downloadnixpkgs-4773a2675b3a029b3daa8769b8c4c31acb607325.tar
nixpkgs-4773a2675b3a029b3daa8769b8c4c31acb607325.tar.gz
nixpkgs-4773a2675b3a029b3daa8769b8c4c31acb607325.tar.bz2
nixpkgs-4773a2675b3a029b3daa8769b8c4c31acb607325.tar.lz
nixpkgs-4773a2675b3a029b3daa8769b8c4c31acb607325.tar.xz
nixpkgs-4773a2675b3a029b3daa8769b8c4c31acb607325.tar.zst
nixpkgs-4773a2675b3a029b3daa8769b8c4c31acb607325.zip
Merge pull request #109820 from fabaff/bypass403
bypass403: init at 1.4.0
-rw-r--r--pkgs/tools/security/bypass403/default.nix25
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/security/bypass403/default.nix b/pkgs/tools/security/bypass403/default.nix
new file mode 100644
index 00000000000..5bf40766883
--- /dev/null
+++ b/pkgs/tools/security/bypass403/default.nix
@@ -0,0 +1,25 @@
+{ buildGoModule
+, fetchFromGitHub
+, lib
+}:
+
+buildGoModule rec {
+  pname = "bypass403";
+  version = "1.4.0";
+
+  src = fetchFromGitHub {
+    owner = "drsigned";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "1x3a4lnxjxbv80kaydy57809n9r7vzci9ki4f98smf3w04s86rcl";
+  };
+
+  vendorSha256 = "1bp6bf99rxlyg91pn1y228q18lawpykmvkl22cydmclms0q0n238";
+
+  meta = with lib; {
+    description = "Tool to bypass 403 Forbidden responses";
+    homepage = "https://github.com/drsigned/bypass403";
+    license = with licenses; [ mit ];
+    maintainers = with maintainers; [ fab ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index c5b83c5d9b2..b8bb27ef8b2 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -1710,6 +1710,8 @@ in
     textual-window-manager = tmux;
   };
 
+  bypass403 = callPackage ../tools/security/bypass403 { };
+
   bsh = fetchurl {
     url = "http://www.beanshell.org/bsh-2.0b5.jar";
     sha256 = "0p2sxrpzd0vsk11zf3kb5h12yl1nq4yypb5mpjrm8ww0cfaijck2";