diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2024-04-18 20:32:26 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2024-04-18 20:32:26 +0200 |
commit | 2e37446ac85067fb363f73fbab3b398f9d07220c (patch) | |
tree | 389f21f4fa38d96aece8876484fe85b9e3420926 /pkgs/by-name | |
parent | ede6e2b78ea1d9ee253c93930953ff2ed39e18a8 (diff) |
nomore403: init at 1.0.1
Tool to bypass 403/40X response codes https://github.com/devploit/nomore403
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/no/nomore403/package.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/by-name/no/nomore403/package.nix b/pkgs/by-name/no/nomore403/package.nix new file mode 100644 index 0000000000000..074db314f10a5 --- /dev/null +++ b/pkgs/by-name/no/nomore403/package.nix @@ -0,0 +1,35 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: + +buildGoModule rec { + pname = "nomore403"; + version = "1.0.1"; + + src = fetchFromGitHub { + owner = "devploit"; + repo = "nomore403"; + rev = "refs/tags/${version}"; + hash = "sha256-qA1i8l2oBQQ5IF8ho3K2k+TAndUTFGwb2NfhyFqfKzU="; + }; + + vendorHash = "sha256-IGnTbuaQH8A6aKyahHMd2RyFRh4WxZ3Vx/A9V3uelRg="; + + ldflags = [ + "-s" + "-w" + "-X=main.Version=${version}" + "-X=main.BuildDate=1970-01-01T00:00:00Z" + ]; + + meta = with lib; { + description = "Tool to bypass 403/40X response codes"; + homepage = "https://github.com/devploit/nomore403"; + changelog = "https://github.com/devploit/nomore403/releases/tag/${version}"; + license = licenses.mit; + maintainers = with maintainers; [ fab ]; + mainProgram = "nomore403"; + }; +} |