ftxui: 5.0.0 -> 6.0.2 (#392562)

This commit is contained in:
Nikolay Korotkiy
2025-04-05 19:04:57 +04:00
committed by GitHub
+9 -9
View File
@@ -11,13 +11,13 @@
stdenv.mkDerivation rec {
pname = "ftxui";
version = "5.0.0";
version = "6.0.2";
src = fetchFromGitHub {
owner = "ArthurSonzogni";
repo = "ftxui";
rev = "v${version}";
sha256 = "sha256-IF6G4wwQDksjK8nJxxAnxuCw2z2qvggCmRJ2rbg00+E=";
tag = "v${version}";
hash = "sha256-VvP1ctFlkTDdrAGRERBxMRpFuM4mVpswR/HO9dzUSUo=";
};
strictDeps = true;
@@ -34,19 +34,19 @@ stdenv.mkDerivation rec {
];
cmakeFlags = [
"-DFTXUI_BUILD_EXAMPLES=OFF"
"-DFTXUI_BUILD_DOCS=ON"
"-DFTXUI_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
(lib.cmakeBool "FTXUI_BUILD_EXAMPLES" false)
(lib.cmakeBool "FTXUI_BUILD_DOCS" true)
(lib.cmakeBool "FTXUI_BUILD_TESTS" doCheck)
];
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
meta = with lib; {
meta = {
homepage = "https://github.com/ArthurSonzogni/FTXUI";
changelog = "https://github.com/ArthurSonzogni/FTXUI/blob/v${version}/CHANGELOG.md";
description = "Functional Terminal User Interface library for C++";
license = licenses.mit;
license = lib.licenses.mit;
maintainers = [ ];
platforms = platforms.all;
platforms = lib.platforms.all;
};
}