2022-10-21 18:38:19 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "pritunl-client";
|
2022-12-17 10:02:37 +00:00
|
|
|
version = "1.3.3373.6";
|
2022-10-21 18:38:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pritunl";
|
|
|
|
repo = "pritunl-client-electron";
|
|
|
|
rev = version;
|
2022-12-17 10:02:37 +00:00
|
|
|
sha256 = "sha256-Ttg6SNDcNIQlbNnKQY32hmsrgLhzHkeQfwlmCHe0bI0=";
|
2022-10-21 18:38:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
modRoot = "cli";
|
|
|
|
vendorSha256 = "sha256-fI2RIzvfbqBgchsvY8hsiecXYItM2XX9h8oiP3zmfTA=";
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mv $out/bin/cli $out/bin/pritunl-client
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Pritunl OpenVPN client CLI";
|
|
|
|
homepage = "https://github.com/pritunl/pritunl-client-electron/tree/master/cli";
|
|
|
|
license = licenses.unfree;
|
|
|
|
maintainers = with maintainers; [ bigzilla ];
|
|
|
|
};
|
|
|
|
}
|