ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / jw / jwt-hack / package.nix
blob2b73d69249aa22173d7664b8f995d1d640ea5e55
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
7 buildGoModule rec {
8   pname = "jwt-hack";
9   version = "1.2.0";
11   src = fetchFromGitHub {
12     owner = "hahwul";
13     repo = "jwt-hack";
14     rev = "refs/tags/v${version}";
15     hash = "sha256-IHR+ItI4ToINLpkVc7yrgpNTS17nD02G6x3pNMEfIW4=";
16   };
18   vendorHash = "sha256-YEH+epSvyy1j0s8AIJ5+BdF47H7KqgBRC4t81noOkjo=";
20   ldflags = [
21     "-w"
22     "-s"
23   ];
25   meta = with lib; {
26     description = "Tool for attacking JWT";
27     homepage = "https://github.com/hahwul/jwt-hack";
28     changelog = "https://github.com/hahwul/jwt-hack/releases/tag/v${version}";
29     license = licenses.mit;
30     maintainers = with maintainers; [ fab ];
31     mainProgram = "jwt-hack";
32   };