upterm: init at 0.5.2
This commit is contained in:
parent
52bdd2fa1f
commit
c2206a145f
39
pkgs/tools/misc/upterm/default.nix
Normal file
39
pkgs/tools/misc/upterm/default.nix
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
, installShellFiles }:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "upterm";
|
||||||
|
version = "0.5.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "owenthereal";
|
||||||
|
repo = "upterm";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "007hgkkn1cq1i0rkn45i3bz5q9irzm67cz0j5glr6f6d4s0nkjiq";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorSha256 = null;
|
||||||
|
|
||||||
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
$out/bin/gendoc
|
||||||
|
rm $out/bin/gendoc
|
||||||
|
installManPage etc/man/man*/*
|
||||||
|
installShellCompletion --bash --name upterm.bash etc/completion/upterm.bash_completion.sh
|
||||||
|
installShellCompletion --zsh --name _upterm etc/completion/upterm.zsh_completion
|
||||||
|
'';
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
__darwinAllowLocalNetworking = true;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Secure terminal-session sharing";
|
||||||
|
homepage = "https://upterm.dev";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ hax404 ];
|
||||||
|
};
|
||||||
|
}
|
@ -8559,6 +8559,8 @@ in
|
|||||||
|
|
||||||
up = callPackage ../tools/misc/up { };
|
up = callPackage ../tools/misc/up { };
|
||||||
|
|
||||||
|
upterm = callPackage ../tools/misc/upterm { };
|
||||||
|
|
||||||
upx = callPackage ../tools/compression/upx { };
|
upx = callPackage ../tools/compression/upx { };
|
||||||
|
|
||||||
uq = callPackage ../misc/uq { };
|
uq = callPackage ../misc/uq { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user