3
0
Fork 0
forked from mirrors/nixpkgs

teleconsole: init at 0.4.0

This commit is contained in:
Kim Burgess 2018-10-10 00:41:28 +10:00
parent bd9ce1a761
commit 6327ba8fbd
3 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "teleconsole-${version}";
version = "0.4.0";
goPackagePath = "github.com/gravitational/teleconsole";
src = fetchFromGitHub {
owner = "gravitational";
repo = "teleconsole";
rev = version;
sha256 = "01552422n0bj1iaaw6pvg9l1qr66r69sdsngxbcdjn1xh3mj74sm";
};
goDeps = ./deps.nix;
CGO_ENABLED = 1;
buildFlags = "-ldflags";
meta = with stdenv.lib; {
homepage = "https://www.teleconsole.com/";
description = "Share your terminal session with people you trust";
license = licenses.asl20;
platforms = platforms.all;
# Builds for Aarch64 not possible in the current release due to
# incompatibilities further up the dependency chain.
# See:
# - https://github.com/gravitational/teleport/issues/679
# - https://github.com/kr/pty/issues/27
broken = stdenv.isAarch64;
maintainers = [ maintainers.kimburgess ];
};
}

13
pkgs/tools/misc/teleconsole/deps.nix generated Normal file
View file

@ -0,0 +1,13 @@
[
# Teleport v2.0.0-alpha.4 required for build.
# See https://github.com/gravitational/teleconsole/blob/09591f227c2a8df4c68af8bc4adfadfc596f4ed2/Makefile#L8
{
goPackagePath = "github.com/gravitational/teleport";
fetch = {
type = "git";
url = "https://github.com/gravitational/teleport";
rev = "2cb40abd8ea8fb2915304ea4888b5b9f3e5bc223";
sha256 = "1xw3bfnjbj88x465snwwzn4bmpmzmsrq9r0pkj388qwvfrclgnfk";
};
}
]

View file

@ -5550,6 +5550,8 @@ with pkgs;
teamviewer = libsForQt5.callPackage ../applications/networking/remote/teamviewer { }; teamviewer = libsForQt5.callPackage ../applications/networking/remote/teamviewer { };
teleconsole = callPackage ../tools/misc/teleconsole { };
telegraf = callPackage ../servers/monitoring/telegraf { }; telegraf = callPackage ../servers/monitoring/telegraf { };
teleport = callPackage ../servers/teleport {}; teleport = callPackage ../servers/teleport {};