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

42 lines
981 B
Nix
Raw Normal View History

{ lib, stdenv
2019-11-01 12:46:50 +01:00
, fetchFromGitHub
, cmake
, gflags
, libsodium
2021-04-27 01:38:00 +02:00
, openssl
2019-11-01 12:46:50 +01:00
, protobuf
2021-04-27 01:38:00 +02:00
, zlib
2019-11-01 12:46:50 +01:00
}:
2018-01-30 06:43:41 +01:00
stdenv.mkDerivation rec {
pname = "eternal-terminal";
2021-04-27 01:38:00 +02:00
version = "6.1.7";
2018-01-30 06:43:41 +01:00
src = fetchFromGitHub {
owner = "MisterTea";
2019-11-01 12:46:50 +01:00
repo = "EternalTerminal";
rev = "et-v${version}";
2021-04-27 01:38:00 +02:00
sha256 = "0jpm1ilr1qfz55y4mqp75v4q433qla5jhi1b8nsmx48srs7f0j2q";
2018-01-30 06:43:41 +01:00
};
2021-04-27 01:38:00 +02: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 12:46:50 +01:00
nativeBuildInputs = [ cmake ];
2021-04-27 01:38:00 +02:00
buildInputs = [ gflags openssl zlib libsodium protobuf ];
2018-01-30 06:43:41 +01:00
meta = with lib; {
2018-01-30 06:43:41 +01:00
description = "Remote shell that automatically reconnects without interrupting the session";
license = licenses.asl20;
2021-04-27 01:38:00 +02:00
homepage = "https://eternalterminal.dev/";
2018-10-26 18:50:51 +02:00
platforms = platforms.linux ++ platforms.darwin;
2019-11-01 12:46:50 +01:00
maintainers = with maintainers; [ dezgeg pingiun ];
2018-01-30 06:43:41 +01:00
};
}