v2raya: 2.0.5 -> 2.2.4

https://github.com/v2rayA/v2rayA/compare/v2.0.5...v2.2.4

This fixes startup issue with go 1.21, see upstream issue 1017.

Co-authored-by: Bobby Rong <rjl931189261@126.com>

authored by Elliot Bobby Rong and committed by Bobby Rong dfcfab99 6cebc9e8

+11 -5
+8 -5
pkgs/tools/networking/v2raya/default.nix
··· 11 }: 12 let 13 pname = "v2raya"; 14 - version = "2.0.5"; 15 16 src = fetchFromGitHub { 17 owner = "v2rayA"; 18 repo = "v2rayA"; 19 rev = "v${version}"; 20 - hash = "sha256-oMH4FutgI5mLz2sxDdPFUyDd80xT32r51HEQYhhnvcU="; 21 postFetch = "sed -i -e 's/npmmirror/yarnpkg/g' $out/gui/yarn.lock"; 22 }; 23 guiSrc = "${src}/gui"; ··· 30 31 offlineCache = fetchYarnDeps { 32 yarnLock = "${guiSrc}/yarn.lock"; 33 - sha256 = "sha256-hVtETKhG9kX/4a4uO/aQ9sN2eTF6aAYaKDSHJIa0eWQ="; 34 }; 35 36 buildPhase = '' 37 - export NODE_OPTIONS=--openssl-legacy-provider 38 OUTPUT_DIR=$out yarn --offline build 39 ''; 40 41 configurePhase = '' 42 cp -r $node_modules node_modules 43 chmod +w node_modules 44 ''; 45 46 distPhase = "true"; ··· 59 inherit pname version; 60 61 src = "${src}/service"; 62 - vendorHash = "sha256-nI+nqftJybAGcHCTMVjYPuLHxqE/kyjUzkspnkzUi+g="; 63 64 ldflags = [ 65 "-s"
··· 11 }: 12 let 13 pname = "v2raya"; 14 + version = "2.2.4"; 15 16 src = fetchFromGitHub { 17 owner = "v2rayA"; 18 repo = "v2rayA"; 19 rev = "v${version}"; 20 + hash = "sha256-X2fCp9uVdt7fIW1C/tdRK1Tmr8mq6VBk6UBnt99E+1c="; 21 postFetch = "sed -i -e 's/npmmirror/yarnpkg/g' $out/gui/yarn.lock"; 22 }; 23 guiSrc = "${src}/gui"; ··· 30 31 offlineCache = fetchYarnDeps { 32 yarnLock = "${guiSrc}/yarn.lock"; 33 + sha256 = "sha256-pB0B5Iy6dLfU5CL2E9OBQGJKLJqYQRwPxx9aaCDg1Qk="; 34 }; 35 36 buildPhase = '' 37 + runHook preBuild 38 OUTPUT_DIR=$out yarn --offline build 39 + runHook postBuild 40 ''; 41 42 configurePhase = '' 43 + runHook preConfigure 44 cp -r $node_modules node_modules 45 chmod +w node_modules 46 + runHook postConfigure 47 ''; 48 49 distPhase = "true"; ··· 62 inherit pname version; 63 64 src = "${src}/service"; 65 + vendorHash = "sha256-lK6oTI9o8oLXPPMFO/Q97tIsdRd9smUk1v7GwwCFitg="; 66 67 ldflags = [ 68 "-s"
+3
pkgs/tools/networking/v2raya/package.json
··· 8 "build": "vue-cli-service build", 9 "lint": "vue-cli-service lint" 10 }, 11 "dependencies": { 12 "@mdi/font": "^5.8.55", 13 "@nuintun/qrcode": "^3.3.0",
··· 8 "build": "vue-cli-service build", 9 "lint": "vue-cli-service lint" 10 }, 11 + "resolutions": { 12 + "@achrinza/node-ipc": "^10.1.9" 13 + }, 14 "dependencies": { 15 "@mdi/font": "^5.8.55", 16 "@nuintun/qrcode": "^3.3.0",