tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
teleconsole: init at 0.4.0
Kim Burgess
7 years ago
6327ba8f
bd9ce1a7
+49
3 changed files
expand all
collapse all
unified
split
pkgs
tools
misc
teleconsole
default.nix
deps.nix
top-level
all-packages.nix
+34
pkgs/tools/misc/teleconsole/default.nix
···
1
1
+
{ stdenv, buildGoPackage, fetchFromGitHub }:
2
2
+
3
3
+
buildGoPackage rec {
4
4
+
name = "teleconsole-${version}";
5
5
+
version = "0.4.0";
6
6
+
7
7
+
goPackagePath = "github.com/gravitational/teleconsole";
8
8
+
9
9
+
src = fetchFromGitHub {
10
10
+
owner = "gravitational";
11
11
+
repo = "teleconsole";
12
12
+
rev = version;
13
13
+
sha256 = "01552422n0bj1iaaw6pvg9l1qr66r69sdsngxbcdjn1xh3mj74sm";
14
14
+
};
15
15
+
16
16
+
goDeps = ./deps.nix;
17
17
+
18
18
+
CGO_ENABLED = 1;
19
19
+
buildFlags = "-ldflags";
20
20
+
21
21
+
meta = with stdenv.lib; {
22
22
+
homepage = "https://www.teleconsole.com/";
23
23
+
description = "Share your terminal session with people you trust";
24
24
+
license = licenses.asl20;
25
25
+
platforms = platforms.all;
26
26
+
# Builds for Aarch64 not possible in the current release due to
27
27
+
# incompatibilities further up the dependency chain.
28
28
+
# See:
29
29
+
# - https://github.com/gravitational/teleport/issues/679
30
30
+
# - https://github.com/kr/pty/issues/27
31
31
+
broken = stdenv.isAarch64;
32
32
+
maintainers = [ maintainers.kimburgess ];
33
33
+
};
34
34
+
}
+13
pkgs/tools/misc/teleconsole/deps.nix
···
1
1
+
[
2
2
+
# Teleport v2.0.0-alpha.4 required for build.
3
3
+
# See https://github.com/gravitational/teleconsole/blob/09591f227c2a8df4c68af8bc4adfadfc596f4ed2/Makefile#L8
4
4
+
{
5
5
+
goPackagePath = "github.com/gravitational/teleport";
6
6
+
fetch = {
7
7
+
type = "git";
8
8
+
url = "https://github.com/gravitational/teleport";
9
9
+
rev = "2cb40abd8ea8fb2915304ea4888b5b9f3e5bc223";
10
10
+
sha256 = "1xw3bfnjbj88x465snwwzn4bmpmzmsrq9r0pkj388qwvfrclgnfk";
11
11
+
};
12
12
+
}
13
13
+
]
+2
pkgs/top-level/all-packages.nix
···
5550
5550
5551
5551
teamviewer = libsForQt5.callPackage ../applications/networking/remote/teamviewer { };
5552
5552
5553
5553
+
teleconsole = callPackage ../tools/misc/teleconsole { };
5554
5554
+
5553
5555
telegraf = callPackage ../servers/monitoring/telegraf { };
5554
5556
5555
5557
teleport = callPackage ../servers/teleport {};