mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
Merge pull request #184591 from oluceps/add_hysteria
hysteria: init at 1.1.0
This commit is contained in:
commit
d9c23ac307
@ -9682,6 +9682,12 @@
|
||||
githubId = 1237862;
|
||||
name = "Ollie Bunting";
|
||||
};
|
||||
oluceps = {
|
||||
email = "nixos@oluceps.uk";
|
||||
github = "oluceps";
|
||||
githubId = 35628088;
|
||||
name = "oluceps";
|
||||
};
|
||||
olynch = {
|
||||
email = "owen@olynch.me";
|
||||
github = "olynch";
|
||||
|
29
pkgs/tools/networking/hysteria/default.nix
Normal file
29
pkgs/tools/networking/hysteria/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildGoModule
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "hysteria";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "HyNetwork";
|
||||
repo = "hysteria";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-V+umf7+qRANSNsMrU1Vij3ni6ayq/d41xSy3o+7sEHQ=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-oxCZ4+E3kffHr8ca9BKCSYcSWQ8jwpzrFs0fvCvZyJE=";
|
||||
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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user