qwen-code: 0.0.12 -> 0.0.13 (#446273)

Changed files
+4 -4
pkgs
by-name
qw
qwen-code
+4 -4
pkgs/by-name/qw/qwen-code/package.nix
···
buildNpmPackage (finalAttrs: {
pname = "qwen-code";
-
version = "0.0.12";
+
version = "0.0.13";
src = fetchFromGitHub {
owner = "QwenLM";
repo = "qwen-code";
tag = "v${finalAttrs.version}";
-
hash = "sha256-qsa4bAk0QUUZCtoEREBd+8s0AwwVr1os5TO7Luo/UrY=";
+
hash = "sha256-h7CtdZap+D+qRzEvkXJq1Ui4SFg4ldWjqdna/7Ggokk=";
};
patches = [
···
./add-missing-resolved-integrity-fields.patch
];
-
npmDepsHash = "sha256-uLKxUD0e9YSEQz4dxsGXYojcYS6noqsWhtmsc20He0k=";
+
npmDepsHash = "sha256-ClLXCjcFahbMerkyz3AZ12kiJU8CzUEvd9tYpK6BRUE=";
nativeBuildInputs = [
jq
···
substituteInPlace package.json --replace-fail '"@lvce-editor/ripgrep": "^1.6.0",' ""
substituteInPlace packages/core/package.json --replace-fail '"@lvce-editor/ripgrep": "^1.6.0",' ""
substituteInPlace packages/core/src/tools/ripGrep.ts \
-
--replace-fail "import { rgPath } from '@lvce-editor/ripgrep';" "const rgPath = 'rg';"
+
--replace-fail "const { rgPath } = await import('@lvce-editor/ripgrep');" "const rgPath = 'rg';"
# patches below remove node-pty dependency which causes build fail on Darwin
# should be conditional on platform but since package-lock.json is patched it changes its hash