depot/third_party/nixpkgs/pkgs/development/libraries/ftxui/default.nix
Default email 8a45d4525b Project import generated by Copybara.
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
2022-03-30 11:31:56 +02:00

37 lines
799 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, doxygen
, graphviz
}:
stdenv.mkDerivation rec {
pname = "ftxui";
version = "2.0.0";
src = fetchFromGitHub {
owner = "ArthurSonzogni";
repo = pname;
rev = "v${version}";
sha256 = "sha256-BfNUk2DbBpKMBEu1tQWl85tgjB/4NAh86VVSS9zAjKo=";
};
nativeBuildInputs = [
cmake
doxygen
graphviz
];
# gtest and gbenchmark don't seem to generate any binaries
doCheck = false;
meta = with lib; {
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;
maintainers = [ maintainers.ivar ];
platforms = platforms.unix;
};
}