nixpkgs/pkgs/development/libraries/ftxui/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
799 B
Nix
Raw Normal View History

2021-08-19 17:16:50 +02:00
{ lib
, stdenv
, fetchFromGitHub
, cmake
, doxygen
, graphviz
}:
stdenv.mkDerivation rec {
pname = "ftxui";
2022-03-08 21:20:54 +01:00
version = "2.0.0";
2021-08-19 17:16:50 +02:00
src = fetchFromGitHub {
owner = "ArthurSonzogni";
repo = pname;
2022-03-08 21:20:54 +01:00
rev = "v${version}";
sha256 = "sha256-BfNUk2DbBpKMBEu1tQWl85tgjB/4NAh86VVSS9zAjKo=";
2021-08-19 17:16:50 +02:00
};
nativeBuildInputs = [
cmake
doxygen
graphviz
];
2022-03-08 21:20:54 +01:00
# gtest and gbenchmark don't seem to generate any binaries
doCheck = false;
2021-08-19 17:16:50 +02:00
meta = with lib; {
homepage = "https://github.com/ArthurSonzogni/FTXUI";
2022-03-08 21:20:54 +01:00
changelog = "https://github.com/ArthurSonzogni/FTXUI/blob/v${version}/CHANGELOG.md";
description = "Functional Terminal User Interface library for C++";
2021-08-19 17:16:50 +02:00
license = licenses.mit;
maintainers = [ maintainers.ivar ];
platforms = platforms.unix;
};
}