Merge pull request #233409 from NickCao/ftxui
ftxui: set strictDeps, fix cross compilation
This commit is contained in:
@@ -19,24 +19,26 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-qFgCLV7sgGxlL18sThqpl+vyXL68GXcbYqMG7mXhsB4=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
doxygen
|
||||
graphviz
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
gbenchmark
|
||||
checkInputs = [
|
||||
gtest
|
||||
gbenchmark
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DFTXUI_BUILD_EXAMPLES=OFF"
|
||||
"-DFTXUI_BUILD_DOCS=ON"
|
||||
"-DFTXUI_BUILD_TESTS=ON"
|
||||
"-DFTXUI_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/ArthurSonzogni/FTXUI";
|
||||
|
||||
Reference in New Issue
Block a user