From 428610e91c1a13341a5a43d920cdfaacba017722 Mon Sep 17 00:00:00 2001 From: Andrey Donets Date: Mon, 19 Aug 2024 19:30:26 +0400 Subject: [PATCH] hola-proxy: init at 1.13.3 --- pkgs/by-name/ho/hola-proxy/package.nix | 32 ++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pkgs/by-name/ho/hola-proxy/package.nix diff --git a/pkgs/by-name/ho/hola-proxy/package.nix b/pkgs/by-name/ho/hola-proxy/package.nix new file mode 100644 index 0000000000000..62e0bba27007b --- /dev/null +++ b/pkgs/by-name/ho/hola-proxy/package.nix @@ -0,0 +1,32 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: + +buildGoModule rec { + pname = "hola-proxy"; + version = "1.13.3"; + + src = fetchFromGitHub { + owner = "Snawoot"; + repo = "hola-proxy"; + rev = "refs/tags/v${version}"; + hash = "sha256-T4kXwseOspXtu6jMCytCqROwQP1XjKFT2ejfAA36HUY="; + }; + + vendorHash = "sha256-1mQzeopJzzXV4cCHu30QelCIz6NivOImpiCTpGnAtzY="; + + ldflags = [ + "-s" + "-w" + ]; + + meta = { + description = "Standalone client for proxies of Hola VPN"; + homepage = "https://github.com/Snawoot/hola-proxy/"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ Ligthiago ]; + mainProgram = "hola-proxy"; + }; +}