Merge pull request #48108 from aca-labs/teleconsole

Teleconsole
This commit is contained in:
Silvan Mosberger 2018-10-11 20:48:51 +02:00 committed by GitHub
commit e69079b3b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 54 additions and 0 deletions

View File

@ -2153,6 +2153,11 @@
github = "kiloreux";
name = "Kiloreux Emperex";
};
kimburgess = {
email = "kim@acaprojects.com";
github = "kimburgess";
name = "Kim Burgess";
};
kini = {
email = "keshav.kini@gmail.com";
github = "kini";

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

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