Subject: Subject: [PATCH] gnu: Add et.

From: Stefan Reichör <[email-masked]>
Date: Tue, 04 Jul 2017 22:04:09 +0200

>From 75b605b35bc938485ceabd6617d7c3f2c202791b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Reich=C3=B6r?= <[email-masked]>
Date: Tue, 4 Jul 2017 22:02:48 +0200
Subject: [PATCH] gnu: Add et.

* gnu/packages/ssh.scm (et): New variable.
---
 gnu/packages/ssh.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index d03686c..d7fd124 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -7,6 +7,7 @@
 ;;; Copyright © 2016 Nicolas Goaziou <[email-masked]>
 ;;; Copyright © 2016 Christopher Allan Webber <[email-masked]>
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <[email-masked]>
+;;; Copyright © 2017 Stefan Reichör <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -29,12 +30,14 @@
   #:use-module (gnu packages base)
   #:autoload   (gnu packages boost) (boost)
   #:use-module (gnu packages compression)
+  #:use-module (gnu packages crypto)
   #:use-module (gnu packages elf)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages gperf)
   #:use-module (gnu packages groff)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages logging)
   #:use-module (gnu packages m4)
   #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages ncurses)
@@ -42,6 +45,7 @@
   #:use-module (gnu packages kerberos)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages popt)
   #:autoload   (gnu packages protobuf) (protobuf)
   #:use-module (gnu packages readline)
   #:use-module (gnu packages texinfo)
@@ -381,6 +385,34 @@ keystrokes.  Mosh is a replacement for SSH.  It's more robust and responsive,
 especially over Wi-Fi, cellular, and long-distance links.")
     (license license:gpl3+)))
 
+(define-public et
+  (package
+    (name "et")
+    (version "3.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/MisterTea/EternalTCP/archive/et-v"
+             version ".tar.gz"))
+       (sha256
+        (base32 "1n2w2kqbshdmbb0gz4yizyw9gqfls6qm2dnwx1d9c2hz7hmi7521"))))
+    (build-system cmake-build-system)
+    (arguments `(#:tests? #f))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs `(("glog" ,glog)
+              ("gflags" ,gflags)
+              ("libsodium" ,libsodium)
+              ("protobuf" ,protobuf)))
+    (synopsis "Remote shell that automatically reconnects without interrupting
+the session.")
+    (description "Eternal Terminal (ET) is a remote shell that automatically
+reconnects without interrupting the session. Unlike the normal SSH session, ET
+session will survive even after the network outages or IP changes.")
+    (home-page "https://mistertea.github.io/EternalTCP/")
+    (license license:asl2.0)))
+
 (define-public dropbear
   (package
     (name "dropbear")
-- 
2.7.4