2021-02-17 17:02:09 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, python3 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pritunl-ssh";
|
2024-10-04 16:56:33 +00:00
|
|
|
version = "1.0.3231.6";
|
2021-02-17 17:02:09 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pritunl";
|
|
|
|
repo = "pritunl-zero-client";
|
|
|
|
rev = version;
|
2024-10-04 16:56:33 +00:00
|
|
|
sha256 = "sha256-kccc8ZDh3S/Ko/MaBd5u0UxMNIbg5dhvRuecJuE3D6c=";
|
2021-02-17 17:02:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|