snip: init at 0.8.1

This commit is contained in:
Gautier DI FOLCO
2026-04-05 18:31:19 +02:00
parent ae0d489964
commit 3d6f261247
+33
View File
@@ -0,0 +1,33 @@
{
lib,
fetchFromGitHub,
buildGoModule,
}:
buildGoModule (finalAttrs: {
pname = "snip";
version = "0.8.1";
src = fetchFromGitHub {
owner = "edouard-claude";
repo = "snip";
tag = "v${finalAttrs.version}";
hash = "sha256-95CHMKE894IkQONvVKO44/9bEfXzJrNRV+iVIVRx8TA=";
};
vendorHash = "sha256-2MxFZqjNuLzcuu+bsLyOyHIakCxh7j0FUx8LsjZRhrY=";
ldflags = [
"-s"
"-w"
];
meta = {
description = "CLI proxy that reduces LLM token consumption by filtering verbose shell output";
homepage = "https://github.com/edouard-claude/snip";
changelog = "https://github.com/edouard-claude/snip/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ gdifolco ];
mainProgram = "snip";
};
})