nixpkgs/pkgs/tools/networking/eternal-terminal/default.nix

42 lines
980 B
Nix
Raw Normal View History

{ lib, stdenv
2019-11-01 11:46:50 +00:00
, fetchFromGitHub
, cmake
, gflags
, libsodium
2021-04-26 23:38:00 +00:00
, openssl
2019-11-01 11:46:50 +00:00
, protobuf
2021-04-26 23:38:00 +00:00
, zlib
2019-11-01 11:46:50 +00:00
}:
2018-01-30 05:43:41 +00:00
stdenv.mkDerivation rec {
pname = "eternal-terminal";
2021-05-29 11:27:57 +00:00
version = "6.1.8";
2018-01-30 05:43:41 +00:00
src = fetchFromGitHub {
owner = "MisterTea";
2019-11-01 11:46:50 +00:00
repo = "EternalTerminal";
rev = "et-v${version}";
2021-05-29 11:27:57 +00:00
sha256 = "sha256-VSJ6AoVBvlCdKSirSDqsemixF+kAnvPgBQlyJxjoPcs=";
2018-01-30 05:43:41 +00:00
};
2021-04-26 23:38:00 +00:00
cmakeFlags= [
"-DDISABLE_VCPKG=TRUE"
"-DDISABLE_SENTRY=TRUE"
"-DDISABLE_CRASH_LOG=TRUE"
];
CXXFLAGS = lib.optional stdenv.cc.isClang "-std=c++17";
LDFLAGS = lib.optional stdenv.cc.isClang "-lc++fs";
2019-11-01 11:46:50 +00:00
nativeBuildInputs = [ cmake ];
2021-04-26 23:38:00 +00:00
buildInputs = [ gflags openssl zlib libsodium protobuf ];
2018-01-30 05:43:41 +00:00
meta = with lib; {
2018-01-30 05:43:41 +00:00
description = "Remote shell that automatically reconnects without interrupting the session";
license = licenses.asl20;
2021-04-26 23:38:00 +00:00
homepage = "https://eternalterminal.dev/";
2018-10-26 16:50:51 +00:00
platforms = platforms.linux ++ platforms.darwin;
2019-11-01 11:46:50 +00:00
maintainers = with maintainers; [ dezgeg pingiun ];
2018-01-30 05:43:41 +00:00
};
}