mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
5b2e2fd6ed
pritunl-ssh is a small Python script used to retrieve the SSH certificate from the Pritunl Zero server. Homepage: zero.pritunl.com GitHub: pritunl/pritunl-zero-client Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
30 lines
740 B
Nix
30 lines
740 B
Nix
{ lib, stdenv, fetchFromGitHub, python3 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "pritunl-ssh";
|
|
version = "1.0.1674.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pritunl";
|
|
repo = "pritunl-zero-client";
|
|
rev = version;
|
|
sha256 = "07z60lipbwm0p7s2bxcij21jid8w4nyh6xk2qq5qdm4acq4k1i88";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|