mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 11:03:15 +03:00
jwt-hack: 1.2.0 -> 2.0.0 (#415003)
This commit is contained in:
commit
599163c2f5
2 changed files with 1311 additions and 11 deletions
1299
pkgs/by-name/jw/jwt-hack/Cargo.lock
generated
Normal file
1299
pkgs/by-name/jw/jwt-hack/Cargo.lock
generated
Normal file
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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue