mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 18:23:09 +00:00
28 lines
701 B
Nix
28 lines
701 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "pritunl-client";
|
|
version = "1.3.3373.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pritunl";
|
|
repo = "pritunl-client-electron";
|
|
rev = version;
|
|
sha256 = "sha256-Ttg6SNDcNIQlbNnKQY32hmsrgLhzHkeQfwlmCHe0bI0=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|