lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at master 52 lines 1.0 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 doxygen, 7 gbenchmark, 8 graphviz, 9 gtest, 10}: 11 12stdenv.mkDerivation rec { 13 pname = "ftxui"; 14 version = "6.1.9"; 15 16 src = fetchFromGitHub { 17 owner = "ArthurSonzogni"; 18 repo = "ftxui"; 19 tag = "v${version}"; 20 hash = "sha256-plJxTLhOhUyuay5uYv4KLK9UTmM2vsoda+iDXVa4b+k="; 21 }; 22 23 strictDeps = true; 24 25 nativeBuildInputs = [ 26 cmake 27 doxygen 28 graphviz 29 ]; 30 31 checkInputs = [ 32 gtest 33 gbenchmark 34 ]; 35 36 cmakeFlags = [ 37 (lib.cmakeBool "FTXUI_BUILD_EXAMPLES" false) 38 (lib.cmakeBool "FTXUI_BUILD_DOCS" true) 39 (lib.cmakeBool "FTXUI_BUILD_TESTS" doCheck) 40 ]; 41 42 doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; 43 44 meta = { 45 homepage = "https://github.com/ArthurSonzogni/FTXUI"; 46 changelog = "https://github.com/ArthurSonzogni/FTXUI/blob/v${version}/CHANGELOG.md"; 47 description = "Functional Terminal User Interface library for C++"; 48 license = lib.licenses.mit; 49 maintainers = [ ]; 50 platforms = lib.platforms.all; 51 }; 52}