crush: 0.12.1 -> 0.13.5
https://github.com/charmbracelet/crush/releases/tag/v0.13.0 https://github.com/charmbracelet/crush/releases/tag/v0.13.1 https://github.com/charmbracelet/crush/releases/tag/v0.13.2 https://github.com/charmbracelet/crush/releases/tag/v0.13.3 https://github.com/charmbracelet/crush/releases/tag/v0.13.4 https://github.com/charmbracelet/crush/releases/tag/v0.13.5
This commit is contained in:
@@ -1,32 +1,24 @@
|
||||
{
|
||||
lib,
|
||||
buildGo125Module,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
writableTmpDirAsHomeHook,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
buildGo125Module (finalAttrs: {
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "crush";
|
||||
version = "0.12.1";
|
||||
version = "0.13.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "charmbracelet";
|
||||
repo = "crush";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-uESS76cPJ/sYGbsTpaUKlF8g0y2+LYbF4zd7dAoKWWU=";
|
||||
hash = "sha256-MKX26HptDwlwWvmP+9FDlFJzly5xKA0mNVsbeHi1zhg=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-lqoAPp8EW2tW+QjwCuBgxZDbKT3XMvP3qwx/yES1mx4=";
|
||||
|
||||
# rename TestMain to prevent it from running, as it panics in the sandbox.
|
||||
postPatch = ''
|
||||
substituteInPlace internal/llm/provider/openai_test.go \
|
||||
--replace-fail \
|
||||
"func TestMain" \
|
||||
"func DisabledTestMain"
|
||||
'';
|
||||
vendorHash = "sha256-OiNmZKg+NN7Aoeao8L72Dvgz0moeaZGQ7KVJdvuWagY=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
@@ -37,6 +29,7 @@ buildGo125Module (finalAttrs: {
|
||||
let
|
||||
# these tests fail in the sandbox
|
||||
skippedTests = [
|
||||
"TestCoderAgent"
|
||||
"TestOpenAIClientStreamChoices"
|
||||
"TestGrepWithIgnoreFiles"
|
||||
"TestSearchImplementations"
|
||||
|
||||
Reference in New Issue
Block a user