depot/pkgs/tools/networking/pritunl-ssh/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00: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;
};
}