Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2026-05-26 19:59:34 +02:00
commit f3dce1f4ab
29 changed files with 2218 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
{
pkgs,
buildGoApplication,
}: let
pname = "jwt-tui";
version = "0.1.0";
ldflags = ["-s" "-w" "-X main.version=${version}"];
pkg = buildGoApplication {
inherit pname version ldflags;
src = ../.;
modules = ./gomod2nix.toml;
meta = with pkgs.lib; {
description = "A TUI for inspecting, editing, and signing JSON Web Tokens (JWTs).";
homepage = "https://github.com/anotherhadi/jwt-tui";
platforms = platforms.unix;
};
};
in {
"${pname}" = pkg;
default = pkg;
}