hysteria: 2.2.2 -> 2.2.3
Diff: https://github.com/apernet/hysteria/compare/app/v2.2.2...app/v2.2.3
This commit is contained in:
parent
33793dfab8
commit
76b0b9dd60
1 changed files with 12 additions and 9 deletions
|
@ -4,22 +4,25 @@
|
|||
}:
|
||||
buildGoModule rec {
|
||||
pname = "hysteria";
|
||||
version = "2.2.2";
|
||||
version = "2.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "apernet";
|
||||
repo = pname;
|
||||
rev = "app/v${version}";
|
||||
hash = "sha256-5j24wIZ4LloE9t0sv5p+oiYmexOaORASNN9JylXxrk4=";
|
||||
hash = "sha256-xvnshGDQ69yXZ5BnEYAhoJOXG0uZ0lZRnp/rdnmNAkE=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-ErU1yEtSuMVkoJv9hyaE4OZS5o7GxuleoK0Q9BI2skw=";
|
||||
vendorHash = "sha256-zjj5MhCVQbsLwZs7LcGhozXGmfzFrDipNsEswiseMYI=";
|
||||
proxyVendor = true;
|
||||
|
||||
ldflags = [
|
||||
ldflags =
|
||||
let cmd = "github.com/apernet/hysteria/app/cmd";
|
||||
in [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X main.appVersion=${version}"
|
||||
"-X ${cmd}.appVersion=${version}"
|
||||
"-X ${cmd}.appType=release"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
|
@ -33,7 +36,7 @@ buildGoModule rec {
|
|||
description = "A feature-packed proxy & relay utility optimized for lossy, unstable connections";
|
||||
homepage = "https://github.com/apernet/hysteria";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ oluceps ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue