Files
nixpkgs/pkgs/by-name/ft/ftxui/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

53 lines
1.0 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
doxygen,
gbenchmark,
graphviz,
gtest,
}:
stdenv.mkDerivation rec {
pname = "ftxui";
version = "6.1.9";
src = fetchFromGitHub {
owner = "ArthurSonzogni";
repo = "ftxui";
tag = "v${version}";
hash = "sha256-plJxTLhOhUyuay5uYv4KLK9UTmM2vsoda+iDXVa4b+k=";
};
strictDeps = true;
nativeBuildInputs = [
cmake
doxygen
graphviz
];
checkInputs = [
gtest
gbenchmark
];
cmakeFlags = [
(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 = {
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 = lib.licenses.mit;
maintainers = [ ];
platforms = lib.platforms.all;
};
}