4bac34ead1
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
27 lines
700 B
Nix
27 lines
700 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "pritunl-client";
|
|
version = "1.3.3430.77";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pritunl";
|
|
repo = "pritunl-client-electron";
|
|
rev = version;
|
|
sha256 = "sha256-tB6BAtLIlsU7mQmJ/Ec94X2r0mmGJlefc2NkyDhQ2Ek=";
|
|
};
|
|
|
|
modRoot = "cli";
|
|
vendorHash = "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 ];
|
|
};
|
|
}
|