about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/ftxui/default.nix
blob: 27a21ceca6657c7e693b1a671a509f2b8ffbf4c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ 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;
  };
}