gh-token: init at 2.0.7 (#490481)

This commit is contained in:
Sandro
2026-02-28 22:10:33 +00:00
committed by GitHub
2 changed files with 38 additions and 0 deletions
+6
View File
@@ -19389,6 +19389,12 @@
github = "0xnook";
githubId = 88323754;
};
norbertwnuk = {
name = "Norbert Wnuk";
email = "norbert.wnuk@gmail.com";
github = "norbertwnuk";
githubId = 70071;
};
norfair = {
email = "syd@cs-syd.eu";
github = "NorfairKing";
+32
View File
@@ -0,0 +1,32 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "gh-token";
version = "2.0.7";
src = fetchFromGitHub {
owner = "Link-";
repo = "gh-token";
rev = "v${version}";
hash = "sha256-ufpQQgXaL28lPPLotZZneJPWWAy80Jd6hNeKX81aa98=";
};
vendorHash = "sha256-gUPNHSeI8B5hwnIo7gwGo5aP4j7rzgveZIksyNe65jM=";
ldflags = [
"-s"
"-w"
];
meta = {
description = "Manage installation access tokens for GitHub apps from your terminal";
homepage = "https://github.com/Link-/gh-token";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ norbertwnuk ];
mainProgram = "gh-token";
};
}