gh-do: init at 0.5.4 (#471786)

This commit is contained in:
Aleksana
2025-12-21 15:49:15 +00:00
committed by GitHub
2 changed files with 42 additions and 0 deletions
+5
View File
@@ -23069,6 +23069,11 @@
githubId = 3280280;
name = "Ryne Everett";
};
ryoppippi = {
github = "ryoppippi";
githubId = 1560508;
name = "ryoppippi";
};
ryota-ka = {
email = "ok@ryota-ka.me";
github = "ryota-ka";
+37
View File
@@ -0,0 +1,37 @@
{
lib,
fetchFromGitHub,
buildGoModule,
nix-update-script,
}:
buildGoModule (finalAttrs: {
pname = "gh-do";
version = "0.5.4";
src = fetchFromGitHub {
owner = "k1LoW";
repo = "gh-do";
tag = "v${finalAttrs.version}";
hash = "sha256-TzdaQ/E9D3gB1Q84SCRetLoA95c/BjJlgfZGbntjCVU=";
};
vendorHash = "sha256-TPHDiMzJtXXRBFd8lacXeMC+AB1Gc1pMyJPJeVLCkKo=";
ldflags = [
"-s"
"-w"
"-X main.version=${finalAttrs.version}"
];
passthru.updateScript = nix-update-script { };
meta = {
description = "Do and undo and notify with GitHub CLI";
homepage = "https://github.com/k1LoW/gh-do";
changelog = "https://github.com/k1LoW/gh-do/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ryoppippi ];
mainProgram = "gh-do";
};
})