crush: 0.2.1 -> 0.5.0 (#432937)

This commit is contained in:
Pavol Rusnak
2025-08-12 10:40:40 +02:00
committed by GitHub
+4 -4
View File
@@ -9,15 +9,17 @@
buildGoModule (finalAttrs: {
pname = "crush";
version = "0.2.1";
version = "0.5.0";
src = fetchFromGitHub {
owner = "charmbracelet";
repo = "crush";
tag = "v${finalAttrs.version}";
hash = "sha256-SjrkQFSjJrPNynARE92uKA53hkstIUBSvQbqcYSsnaM=";
hash = "sha256-u2w19Xmcm3cx/B8QRNGaP2qeg+Cif/L92RNlJav6H3w=";
};
vendorHash = "sha256-H92TgZoWdYQ863AAb2116zJtmgkKXh2hRoEBRcn5zeA=";
# rename TestMain to prevent it from running, as it panics in the sandbox.
postPatch = ''
substituteInPlace internal/llm/provider/openai_test.go \
@@ -26,8 +28,6 @@ buildGoModule (finalAttrs: {
"func DisabledTestMain"
'';
vendorHash = "sha256-aI3MSaQYUOLJxBxwCoVg13HpxK46q6ZITrw1osx5tiE=";
ldflags = [
"-s"
"-X=github.com/charmbracelet/crush/internal/version.Version=${finalAttrs.version}"