Merge pull request #223321 from NickCao/singbox
sing-box: 1.2.0 -> 1.2.1
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user