jwt-hack: add versionCheckHook

This commit is contained in:
Fabian Affolter
2026-06-08 01:03:13 +02:00
parent ac6f5573a1
commit 5c411d8a1c
+5
View File
@@ -4,6 +4,7 @@
openssl,
pkg-config,
rustPlatform,
versionCheckHook,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -21,10 +22,14 @@ rustPlatform.buildRustPackage (finalAttrs: {
nativeBuildInputs = [ pkg-config ];
nativeInstallCheckInputs = [ versionCheckHook ];
buildInputs = [ openssl ];
env.OPENSSL_NO_VENDOR = 1;
doInstallCheck = true;
meta = {
description = "JSON Web Token Hack Toolkit";
homepage = "https://github.com/hahwul/jwt-hack";