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:
oluceps 2023-12-30 17:24:34 +08:00
parent 33793dfab8
commit 76b0b9dd60
No known key found for this signature in database

View file

@ -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 ];
};
}