git-wt: init at 0.13.0 (#479107)

This commit is contained in:
Yohann Boniface
2026-01-13 23:10:35 +00:00
committed by GitHub
+37
View File
@@ -0,0 +1,37 @@
{
lib,
fetchFromGitHub,
buildGoModule,
git,
}:
buildGoModule (finalAttrs: {
pname = "git-wt";
version = "0.13.0";
src = fetchFromGitHub {
owner = "k1LoW";
repo = "git-wt";
tag = "v${finalAttrs.version}";
hash = "sha256-513y6uB32ln1k3N4f8L2ph6sf2/1tLfLSO+4kEc4nB8=";
};
vendorHash = "sha256-K5geAvG+mvnKeixOyZt0C1T5ojSBFmx2K/Msol0HsSg=";
nativeCheckInputs = [ git ];
ldflags = [
"-s"
"-w"
"-X github.com/k1LoW/git-wt/version.Version=v${finalAttrs.version}"
];
meta = {
description = "Git subcommand that makes git worktree simple";
homepage = "https://github.com/k1LoW/git-wt";
changelog = "https://github.com/k1LoW/git-wt/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ryoppippi ];
mainProgram = "git-wt";
};
})