@@ -0,0 +1,26 @@
1+{ stdenv, fetchFromGitHub, cmake, gflags, glog, libsodium, protobuf }:
2+
3+stdenv.mkDerivation rec {
4+ name = "eternal-terminal-${version}";
5+ version = "4.1.2";
6+
7+ src = fetchFromGitHub {
8+ owner = "MisterTea";
9+ repo = "EternalTCP";
10+ rev = "refs/tags/et-v${version}";
11+ sha256 = "1zy30ccsddgs2wqwxphnx5i00j4gf69lr68mzg9x6imqfz0sbcjz";
12+ };
13+
14+ nativeBuildInputs = [ cmake ];
15+ buildInputs = [ gflags glog libsodium protobuf ];
16+
17+ enableParallelBuilding = true;
18+
19+ meta = with stdenv.lib; {
20+ description = "Remote shell that automatically reconnects without interrupting the session";
21+ license = licenses.asl20;
22+ homepage = https://mistertea.github.io/EternalTCP/;
23+ platforms = platforms.linux;
24+ maintainers = [ maintainers.dezgeg ];
25+ };
26+}