0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

jwtinfo: init at 0.4.4 (#337694)

This commit is contained in:
Arne Keller 2024-12-24 08:20:55 +01:00 committed by GitHub
commit ebbbac073b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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";
};
}