92b3d6365d
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
27 lines
702 B
Nix
27 lines
702 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "pritunl-client";
|
|
version = "1.3.3329.81";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pritunl";
|
|
repo = "pritunl-client-electron";
|
|
rev = version;
|
|
sha256 = "sha256-1V3mWnA418duWDBYqr8QqigWVvx1oNw0NAn+gFaxpsE=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|