Merge pull request #252896 from mlyxshi/master
hysteria: 1.3.5 -> 2.0.0
This commit is contained in:
commit
41665d1deb
|
@ -4,16 +4,16 @@
|
||||||
}:
|
}:
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "hysteria";
|
pname = "hysteria";
|
||||||
version = "1.3.5";
|
version = "2.0.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "apernet";
|
owner = "apernet";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "e11762a196e4fcdbde728ef160bc3c6cfeb5bc6e";
|
||||||
hash = "sha256-gNAK+WOowBlEzUYX25cQxywerNlMIx7cqG1wV9iLS5s=";
|
hash = "sha256-9Fo/qKcoZg8OYH4cok18rweA1PAFULOCJGTdUB8fbAU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-Ixfwqrg+4/dzJLj3q7NbgpUXFj4qGKT0QVFQV/X4pqw=";
|
vendorHash = "sha256-7un8oi6pKYiJGw6mbG35crndLg35y7VkoAnQKMJduh4=";
|
||||||
proxyVendor = true;
|
proxyVendor = true;
|
||||||
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
|
@ -23,7 +23,7 @@ buildGoModule rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mv $out/bin/cmd $out/bin/hysteria
|
mv $out/bin/app $out/bin/hysteria
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Network required
|
# Network required
|
||||||
|
|
Loading…
Reference in a new issue