mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
Merge pull request #305115 from fabaff/nomore403
nomore403: init at 1.0.1
This commit is contained in:
commit
1bfef60705
35
pkgs/by-name/no/nomore403/package.nix
Normal file
35
pkgs/by-name/no/nomore403/package.nix
Normal file
@ -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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user