git-wt: init at 0.12.1

A Git subcommand that makes `git worktree` simple.
This commit is contained in:
ryoppippi
2026-01-11 18:06:17 +00:00
parent e5cb718166
commit adebc9b0e3
+37
View File
@@ -0,0 +1,37 @@
{
lib,
fetchFromGitHub,
buildGoModule,
git,
}:
buildGoModule rec {
pname = "git-wt";
version = "0.12.1";
src = fetchFromGitHub {
owner = "k1LoW";
repo = "git-wt";
rev = "v${version}";
hash = "sha256-poAKWBKvTOCIuBrDMm9S1TaYqsK5HweybTNO+p0FBfk=";
};
vendorHash = "sha256-K5geAvG+mvnKeixOyZt0C1T5ojSBFmx2K/Msol0HsSg=";
nativeCheckInputs = [ git ];
ldflags = [
"-s"
"-w"
"-X github.com/k1LoW/git-wt/version.Version=v${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${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ryoppippi ];
mainProgram = "git-wt";
};
}