diff --git a/pkgs/tools/networking/sing-box/default.nix b/pkgs/tools/networking/sing-box/default.nix index 977692cd925e..7b4dccd0f30e 100644 --- a/pkgs/tools/networking/sing-box/default.nix +++ b/pkgs/tools/networking/sing-box/default.nix @@ -4,20 +4,21 @@ , fetchFromGitHub , installShellFiles , buildPackages +, nix-update-script }: buildGoModule rec { pname = "sing-box"; - version = "1.2.0"; + version = "1.2.1"; src = fetchFromGitHub { owner = "SagerNet"; repo = pname; rev = "v${version}"; - hash = "sha256-4ww2AlDoFZASRMq05a92FSzl8rrtu3xO4vjvGWYn9rA="; + hash = "sha256-0JQlyDeRvmpkBQ69Y7nXUHDVa1NbX7k7ZgdfNfFTO3I="; }; - vendorHash = "sha256-fj6W4+YTJpemNgdfIvnUy82sPU99Uh18nCou/7cjF1o="; + vendorHash = "sha256-BofHamNzBxQI148eRxGYylcyaktD4Xg7c6m4WiK0hP0="; tags = [ "with_quic" @@ -51,6 +52,8 @@ buildGoModule rec { --zsh <(${emulator} $out/bin/sing-box completion zsh ) ''; + passthru.updateScript = nix-update-script { }; + meta = with lib;{ homepage = "https://sing-box.sagernet.org"; description = "The universal proxy platform";