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

42 lines
981 B
Nix
Raw Normal View History

{ lib, stdenv
2019-11-01 11:46:50 +00:00
, fetchFromGitHub
, cmake
, gflags
, libsodium
2021-04-27 00:38:00 +01:00
, openssl
2019-11-01 11:46:50 +00:00
, protobuf
2021-04-27 00:38:00 +01: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-04-27 00:38:00 +01:00
version = "6.1.7";
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-04-27 00:38:00 +01:00
sha256 = "0jpm1ilr1qfz55y4mqp75v4q433qla5jhi1b8nsmx48srs7f0j2q";
2018-01-30 05:43:41 +00:00
};
2021-04-27 00:38:00 +01: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-27 00:38:00 +01: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-27 00:38:00 +01:00
homepage = "https://eternalterminal.dev/";
2018-10-26 17:50:51 +01: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
};
}