mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
sing-box: 1.8.10 -> 1.8.11
Diff: https://github.com/SagerNet/sing-box/compare/v1.8.10...v1.8.11
This commit is contained in:
parent
d054e50a3f
commit
df2af8439b
@ -11,16 +11,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "sing-box";
|
||||
version = "1.8.10";
|
||||
version = "1.8.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SagerNet";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-HKiTFDNzu42JNra7g+AyTxJ3RuHpvK7ONmKgk2nItT4=";
|
||||
hash = "sha256-arAT23Cf72CcBVxsSK46eqVxTw8lHiHzzr2u2Xj0dcg=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-px90sebov5BbInJtRCGS30fyK3TThNN4XTMtdJhm0Uc=";
|
||||
vendorHash = "sha256-JI8YB1o84xFcfG1p4SkWdhubZlp9q1THfj1Clb8TvHA=";
|
||||
|
||||
tags = [
|
||||
"with_quic"
|
||||
@ -53,8 +53,8 @@ buildGoModule rec {
|
||||
--zsh <(${emulator} $out/bin/sing-box completion zsh )
|
||||
|
||||
substituteInPlace release/config/sing-box{,@}.service \
|
||||
--replace "/usr/bin/sing-box" "$out/bin/sing-box" \
|
||||
--replace "/bin/kill" "${coreutils}/bin/kill"
|
||||
--replace-fail "/usr/bin/sing-box" "$out/bin/sing-box" \
|
||||
--replace-fail "/bin/kill" "${coreutils}/bin/kill"
|
||||
install -Dm444 -t "$out/lib/systemd/system/" release/config/sing-box{,@}.service
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user