depot/third_party/nixpkgs/pkgs/tools/networking/pritunl-ssh/default.nix
Default email 472aeafc57 Project import generated by Copybara.
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
2024-10-04 18:56:33 +02:00

29 lines
739 B
Nix

{ lib, stdenv, fetchFromGitHub, python3 }:
stdenv.mkDerivation rec {
pname = "pritunl-ssh";
version = "1.0.3231.6";
src = fetchFromGitHub {
owner = "pritunl";
repo = "pritunl-zero-client";
rev = version;
sha256 = "sha256-kccc8ZDh3S/Ko/MaBd5u0UxMNIbg5dhvRuecJuE3D6c=";
};
buildInputs = [ python3 ];
installPhase = ''
mkdir -p $out/bin
install ssh_client.py $out/bin/pritunl-ssh
install ssh_host_client.py $out/bin/pritunl-ssh-host
'';
meta = with lib; {
description = "Pritunl Zero SSH client";
homepage = "https://github.com/pritunl/pritunl-zero-client";
license = licenses.unfree;
maintainers = with maintainers; [ Thunderbottom ];
platforms = platforms.unix;
};
}