uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
60
pkgs/tools/networking/eternal-terminal/default.nix
Normal file
60
pkgs/tools/networking/eternal-terminal/default.nix
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, gflags
|
||||
, libsodium
|
||||
, openssl
|
||||
, protobuf
|
||||
, zlib
|
||||
, catch2
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "eternal-terminal";
|
||||
version = "6.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MisterTea";
|
||||
repo = "EternalTerminal";
|
||||
rev = "et-v${version}";
|
||||
hash = "sha256-YQ8Qx6RTmDoNWY8AQlnBJJendQl+tF1QA+Z6h/ar9qs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gflags
|
||||
libsodium
|
||||
openssl
|
||||
protobuf
|
||||
zlib
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
cp ${catch2}/include/catch2/catch.hpp ../external_imported/Catch2/single_include/catch2/catch.hpp
|
||||
'';
|
||||
|
||||
cmakeFlags = [
|
||||
"-DDISABLE_VCPKG=TRUE"
|
||||
"-DDISABLE_SENTRY=TRUE"
|
||||
"-DDISABLE_CRASH_LOG=TRUE"
|
||||
];
|
||||
|
||||
CXXFLAGS = lib.optional stdenv.cc.isClang [
|
||||
"-std=c++17"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue