8e65f7f0cc
GitOrigin-RevId: 062a0c5437b68f950b081bbfc8a699d57a4ee026
52 lines
958 B
Nix
52 lines
958 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, gflags
|
|
, libsodium
|
|
, openssl
|
|
, protobuf
|
|
, zlib
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "eternal-terminal";
|
|
version = "6.1.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MisterTea";
|
|
repo = "EternalTerminal";
|
|
rev = "et-v${version}";
|
|
hash = "sha256-cCZbG0CD5V/FTj1BuVr083EJ+BCgIcKHomNtpJb3lOo=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
buildInputs = [
|
|
gflags
|
|
libsodium
|
|
openssl
|
|
protobuf
|
|
zlib
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-DDISABLE_VCPKG=TRUE"
|
|
"-DDISABLE_SENTRY=TRUE"
|
|
"-DDISABLE_CRASH_LOG=TRUE"
|
|
];
|
|
|
|
CXXFLAGS = lib.optional stdenv.cc.isClang [
|
|
"-std=c++17"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Remote shell that automatically reconnects without interrupting the session";
|
|
homepage = "https://eternalterminal.dev/";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ dezgeg ];
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
};
|
|
}
|