jwtinfo: init at 0.4.4

This commit is contained in:
luftmensch-luftmensch
2024-08-27 13:47:58 +02:00
parent 4a18f25fde
commit 2cb06bdea2

View File

@@ -0,0 +1,30 @@
{
lib,
rustPlatform,
fetchFromGitHub,
}:
let
pname = "jwtinfo";
version = "0.4.4";
in
rustPlatform.buildRustPackage {
inherit pname version;
src = fetchFromGitHub {
owner = "lmammino";
repo = "jwtinfo";
rev = "v${version}";
hash = "sha256-FDN9K7KnMro2BluHB7I0HTDdT9YXxi8UcOoBhKx/5dA=";
};
cargoHash = "sha256-iGvwuLiF8yGb4IxBxGH0M79SlNqZ5lpsXTNiVT7VGrU=";
meta = {
description = "Command-line tool to get information about JWTs";
homepage = "https://github.com/lmammino/jwtinfo";
changelog = "https://github.com/lmammino/jwtinfo/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ luftmensch-luftmensch ];
mainProgram = "jwtinfo";
};
}