git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #48108 from aca-labs/teleconsole

Teleconsole

commite69079b3b1eb089d3785db77199d1a04e048cfea authorSilvan Mosberger <infinisil@icloud.com> dateThu 11 Oct 2018, 20:48 (8 years ago) parente93bb086327ba8
4 files changed+54
maintainers/maintainer-list.nix+5 pkgs/tools/misc/teleconsole/default.nix+34 pkgs/tools/misc/teleconsole/deps.nix+13 pkgs/top-level/all-packages.nix+2
maintainers/maintainer-list.nix+5
@@ -2153,6 +2153,11 @@
21532153 github = "kiloreux";
21542154 name = "Kiloreux Emperex";
21552155 };
2156+ kimburgess = {
2157+ email = "kim@acaprojects.com";
2158+ github = "kimburgess";
2159+ name = "Kim Burgess";
2160+ };
21562161 kini = {
21572162 email = "keshav.kini@gmail.com";
21582163 github = "kini";
pkgs/tools/misc/teleconsole/default.nixnew file+34
@@ -0,0 +1,34 @@
1+{ stdenv, buildGoPackage, fetchFromGitHub }:
2+
3+buildGoPackage rec {
4+ name = "teleconsole-${version}";
5+ version = "0.4.0";
6+
7+ goPackagePath = "github.com/gravitational/teleconsole";
8+
9+ src = fetchFromGitHub {
10+ owner = "gravitational";
11+ repo = "teleconsole";
12+ rev = version;
13+ sha256 = "01552422n0bj1iaaw6pvg9l1qr66r69sdsngxbcdjn1xh3mj74sm";
14+ };
15+
16+ goDeps = ./deps.nix;
17+
18+ CGO_ENABLED = 1;
19+ buildFlags = "-ldflags";
20+
21+ meta = with stdenv.lib; {
22+ homepage = "https://www.teleconsole.com/";
23+ description = "Share your terminal session with people you trust";
24+ license = licenses.asl20;
25+ platforms = platforms.all;
26+ # Builds for Aarch64 not possible in the current release due to
27+ # incompatibilities further up the dependency chain.
28+ # See:
29+ # - https://github.com/gravitational/teleport/issues/679
30+ # - https://github.com/kr/pty/issues/27
31+ broken = stdenv.isAarch64;
32+ maintainers = [ maintainers.kimburgess ];
33+ };
34+}
pkgs/tools/misc/teleconsole/deps.nixnew file+13
@@ -0,0 +1,13 @@
1+[
2+ # Teleport v2.0.0-alpha.4 required for build.
3+ # See https://github.com/gravitational/teleconsole/blob/09591f227c2a8df4c68af8bc4adfadfc596f4ed2/Makefile#L8
4+ {
5+ goPackagePath = "github.com/gravitational/teleport";
6+ fetch = {
7+ type = "git";
8+ url = "https://github.com/gravitational/teleport";
9+ rev = "2cb40abd8ea8fb2915304ea4888b5b9f3e5bc223";
10+ sha256 = "1xw3bfnjbj88x465snwwzn4bmpmzmsrq9r0pkj388qwvfrclgnfk";
11+ };
12+ }
13+]
pkgs/top-level/all-packages.nix+2
@@ -5554,6 +5554,8 @@ with pkgs;
55545554
55555555 teamviewer = libsForQt5.callPackage ../applications/networking/remote/teamviewer { };
55565556
5557+ teleconsole = callPackage ../tools/misc/teleconsole { };
5558+
55575559 telegraf = callPackage ../servers/monitoring/telegraf { };
55585560
55595561 teleport = callPackage ../servers/teleport {};