{ lib, stdenv , fetchFromGitHub , cmake , gflags , libsodium , protobuf }: stdenv.mkDerivation rec { pname = "eternal-terminal"; version = "6.0.13"; src = fetchFromGitHub { owner = "MisterTea"; repo = "EternalTerminal"; rev = "et-v${version}"; sha256 = "0sb1hypg2276y8c2a5vivrkcxp70swddvhnd9h273if3kv6j879r"; }; nativeBuildInputs = [ cmake ]; buildInputs = [ gflags libsodium protobuf ]; meta = with lib; { description = "Remote shell that automatically reconnects without interrupting the session"; license = licenses.asl20; homepage = "https://mistertea.github.io/EternalTerminal/"; platforms = platforms.linux ++ platforms.darwin; maintainers = with maintainers; [ dezgeg pingiun ]; }; }