snip: 0.15.0 -> 0.20.0

https://github.com/edouard-claude/snip/releases/tag/v0.20.0

Added git to nativeCheckInputs to satisfy TestRunCommandHelpAfterSeparator,
which shells out to `git --help`.

Assisted-by: Z.Ai/GLM-5.2
This commit is contained in:
Gautier DI FOLCO
2026-06-22 23:11:20 +02:00
parent 80896c01c5
commit 31dd67110e

View File

@@ -2,21 +2,24 @@
lib,
fetchFromGitHub,
buildGoModule,
gitMinimal,
}:
buildGoModule (finalAttrs: {
pname = "snip";
version = "0.15.0";
version = "0.20.0";
src = fetchFromGitHub {
owner = "edouard-claude";
repo = "snip";
tag = "v${finalAttrs.version}";
hash = "sha256-pRYxTHNdR2NGiE+RdThcmz3zVP5rKVRbt+IEILIgavk=";
hash = "sha256-u6Jc9U4tb5Y/evtWR/Nw535xVh09ChcKN0Dm+l3bjvA=";
};
vendorHash = "sha256-2MxFZqjNuLzcuu+bsLyOyHIakCxh7j0FUx8LsjZRhrY=";
nativeCheckInputs = [ gitMinimal ];
ldflags = [
"-s"
"-w"