wtp: init at 2.10.3 (#539946)

This commit is contained in:
Sandro
2026-08-10 17:23:22 +00:00
committed by GitHub
2 changed files with 48 additions and 0 deletions

View File

@@ -13994,6 +13994,12 @@
name = "John Soo";
githubId = 10039785;
};
jsqu4re = {
email = "johannes.jeising@gmail.com";
github = "jsqu4re";
githubId = 35706792;
name = "Johannes Jeising";
};
jsusk = {
email = "joshua@suskalo.org";
github = "IGJoshua";

View File

@@ -0,0 +1,42 @@
{
lib,
buildGoModule,
fetchFromGitHub,
gitMinimal,
}:
buildGoModule (finalAttrs: {
pname = "wtp";
version = "2.10.3";
src = fetchFromGitHub {
owner = "satococoa";
repo = "wtp";
tag = "v${finalAttrs.version}";
hash = "sha256-KgayKjH4iHi7LgWwk2Laba33bMVZdbiMQgSmqBSTfZ0=";
};
vendorHash = "sha256-zsSNo1MQgpvH3ZSd3kmvdIpOCVJgSu1/pYLltx/9dZg=";
subPackages = [ "cmd/wtp" ];
__structuredAttrs = true;
nativeCheckInputs = [ gitMinimal ];
preCheck = ''
git init .
git config user.name "nixpkgs"
git config user.email "nixpkgs@example.invalid"
touch .nixpkgs-wtp-test
git add .nixpkgs-wtp-test
git commit -m "Init test repo" >/dev/null
'';
meta = {
description = "Git worktree CLI with automated setup, branch tracking, and navigation";
homepage = "https://github.com/satococoa/wtp";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jsqu4re ];
mainProgram = "wtp";
};
})