3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/hysteria/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
707 B
Nix
Raw Normal View History

{ lib
, fetchFromGitHub
, buildGoModule
}:
buildGoModule rec {
pname = "hysteria";
2022-08-15 04:28:28 +01:00
version = "1.2.0";
src = fetchFromGitHub {
owner = "HyNetwork";
2022-08-15 04:28:28 +01:00
repo = pname;
rev = "v${version}";
2022-08-15 04:28:28 +01:00
sha256 = "sha256-aHIb79P1a+91hIcK1toHZqqXIZ0rwfGXDQc42rQQmX4=";
};
2022-08-15 04:28:28 +01:00
vendorSha256 = "sha256-yAQpyz4pDXOfGF4hho/2Pt9yD3VdWYAmIvaXJjDMjis=";
proxyVendor = true;
# Network required
doCheck = false;
meta = with lib; {
description = "A feature-packed proxy & relay utility optimized for lossy, unstable connections";
homepage = "https://github.com/HyNetwork/hysteria";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ oluceps ];
};
}