Merge pull request #302631 from NickCao/sing-box

sing-box: 1.8.10 -> 1.8.11
This commit is contained in:
Nick Cao 2024-04-08 21:26:22 -04:00 committed by GitHub
commit 6a88dbd404
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,16 +11,16 @@
buildGoModule rec { buildGoModule rec {
pname = "sing-box"; pname = "sing-box";
version = "1.8.10"; version = "1.8.11";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "SagerNet"; owner = "SagerNet";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-HKiTFDNzu42JNra7g+AyTxJ3RuHpvK7ONmKgk2nItT4="; hash = "sha256-arAT23Cf72CcBVxsSK46eqVxTw8lHiHzzr2u2Xj0dcg=";
}; };
vendorHash = "sha256-px90sebov5BbInJtRCGS30fyK3TThNN4XTMtdJhm0Uc="; vendorHash = "sha256-JI8YB1o84xFcfG1p4SkWdhubZlp9q1THfj1Clb8TvHA=";
tags = [ tags = [
"with_quic" "with_quic"
@ -53,8 +53,8 @@ buildGoModule rec {
--zsh <(${emulator} $out/bin/sing-box completion zsh ) --zsh <(${emulator} $out/bin/sing-box completion zsh )
substituteInPlace release/config/sing-box{,@}.service \ substituteInPlace release/config/sing-box{,@}.service \
--replace "/usr/bin/sing-box" "$out/bin/sing-box" \ --replace-fail "/usr/bin/sing-box" "$out/bin/sing-box" \
--replace "/bin/kill" "${coreutils}/bin/kill" --replace-fail "/bin/kill" "${coreutils}/bin/kill"
install -Dm444 -t "$out/lib/systemd/system/" release/config/sing-box{,@}.service install -Dm444 -t "$out/lib/systemd/system/" release/config/sing-box{,@}.service
''; '';