mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #233409 from NickCao/ftxui
ftxui: set strictDeps, fix cross compilation
This commit is contained in:
commit
4cd4aecf2d
1 changed files with 6 additions and 4 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue