summary refs log tree commit diff
path: root/pkgs/tools/networking/eternal-terminal/default.nix
blob: 8941494e316eadaa516dc8b7c3fc7b2767d51b94 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, fetchFromGitHub, cmake, gflags, glog, libsodium, protobuf }:

stdenv.mkDerivation rec {
  name = "eternal-terminal-${version}";
  version = "4.1.2";

  src = fetchFromGitHub {
    owner = "MisterTea";
    repo = "EternalTCP";
    rev = "refs/tags/et-v${version}";
    sha256 = "1zy30ccsddgs2wqwxphnx5i00j4gf69lr68mzg9x6imqfz0sbcjz";
  };

  nativeBuildInputs = [ cmake ];
  buildInputs = [ gflags glog libsodium protobuf ];

  enableParallelBuilding = true;

  meta = with stdenv.lib; {
    description = "Remote shell that automatically reconnects without interrupting the session";
    license = licenses.asl20;
    homepage = https://mistertea.github.io/EternalTCP/;
    platforms = platforms.linux;
    maintainers = [ maintainers.dezgeg ];
  };
}