nixpkgs-suyu/pkgs/tools/networking/pritunl-client/default.nix
Weijia Wang 8cac5284f0
Merge pull request #223918 from minizilla/master
maintainers/bigzilla: update information
2023-03-30 23:32:16 +03:00

27 lines
701 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "pritunl-client";
version = "1.3.3477.58";
src = fetchFromGitHub {
owner = "pritunl";
repo = "pritunl-client-electron";
rev = version;
sha256 = "sha256-XsYdmJINzeZgvofsKTG/4dXNv4r46FLkEmNGQki1tmU=";
};
modRoot = "cli";
vendorHash = "sha256-miwGLWpoaavg/xcw/0pNBYCdovBnvjP5kdaaGPcRuWk=";
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; [ minizilla ];
};
}