11 stdenv.mkDerivation rec {
15 src = fetchFromGitHub {
16 owner = "ArthurSonzogni";
19 sha256 = "sha256-IF6G4wwQDksjK8nJxxAnxuCw2z2qvggCmRJ2rbg00+E=";
36 "-DFTXUI_BUILD_EXAMPLES=OFF"
37 "-DFTXUI_BUILD_DOCS=ON"
38 "-DFTXUI_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
41 doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
44 homepage = "https://github.com/ArthurSonzogni/FTXUI";
45 changelog = "https://github.com/ArthurSonzogni/FTXUI/blob/v${version}/CHANGELOG.md";
46 description = "Functional Terminal User Interface library for C++";
47 license = licenses.mit;
48 maintainers = [ maintainers.ivar ];
49 platforms = platforms.all;