jwt-hack: 1.2.0 -> 2.0.0 (#415003)
This commit is contained in:
Generated
+1299
File diff suppressed because it is too large
Load Diff
@@ -1,31 +1,32 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "jwt-hack";
|
||||
version = "1.2.0";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hahwul";
|
||||
repo = "jwt-hack";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-IHR+ItI4ToINLpkVc7yrgpNTS17nD02G6x3pNMEfIW4=";
|
||||
hash = "sha256-uJur/ABoAaQT3BBO2yprK/0/bQPT138Yg9IbztZ6w2w=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-YEH+epSvyy1j0s8AIJ5+BdF47H7KqgBRC4t81noOkjo=";
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
};
|
||||
|
||||
ldflags = [
|
||||
"-w"
|
||||
"-s"
|
||||
];
|
||||
postPatch = ''
|
||||
ln -s ${./Cargo.lock} Cargo.lock
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Tool for attacking JWT";
|
||||
description = "JSON Web Token Hack Toolkit";
|
||||
homepage = "https://github.com/hahwul/jwt-hack";
|
||||
changelog = "https://github.com/hahwul/jwt-hack/releases/tag/v${version}";
|
||||
changelog = "https://github.com/hahwul/jwt-hack/releases/tag/${src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
mainProgram = "jwt-hack";
|
||||
|
||||
Reference in New Issue
Block a user