sing-box: 1.11.15 -> 1.12.3
This commit is contained in:
@@ -10,27 +10,26 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "sing-box";
|
||||
version = "1.11.15";
|
||||
version = "1.12.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SagerNet";
|
||||
repo = "sing-box";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-uqPV3PGk3hFpV1B8+htBG9x58RVWew0sBDUItpxyv8Q=";
|
||||
hash = "sha256-OHhCC+tSDZRSDN9i3L6NtwgarBKHv+KGNyPhHttqo4g=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-qZlnY0MxB4/ttgjuAroTfqGWqGRea549EyIjSxPAlOI=";
|
||||
vendorHash = "sha256-Y/UP2rbee4WSctelk9QddMXciucz5dNLOLDDWtEFfLU=";
|
||||
|
||||
tags = [
|
||||
"with_quic"
|
||||
"with_dhcp"
|
||||
"with_wireguard"
|
||||
"with_ech"
|
||||
"with_utls"
|
||||
"with_reality_server"
|
||||
"with_acme"
|
||||
"with_clash_api"
|
||||
"with_gvisor"
|
||||
"with_tailscale"
|
||||
];
|
||||
|
||||
subPackages = [
|
||||
@@ -50,6 +49,9 @@ buildGoModule (finalAttrs: {
|
||||
--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
|
||||
|
||||
install -Dm444 release/config/sing-box.rules $out/share/polkit-1/rules.d/sing-box.rules
|
||||
install -Dm444 release/config/sing-box-split-dns.xml $out/share/dbus-1/system.d/sing-box-split-dns.conf
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
|
||||
Reference in New Issue
Block a user