depot/third_party/nixpkgs/pkgs/tools/security/jwt-hack/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

25 lines
540 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "jwt-hack";
version = "1.1.2";
src = fetchFromGitHub {
owner = "hahwul";
repo = pname;
rev = "v${version}";
hash = "sha256-K0ZtEi0zAKRlIGvorrXmtmkcMvyLIXWPnVMQANZbClk=";
};
vendorHash = "sha256-VYh3oRy8bmtXf6AnLNi/M2kA6t+crW3AXBiGovpdt8U=";
meta = with lib; {
description = "Tool for attacking JWT";
homepage = "https://github.com/hahwul/jwt-hack";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}