summary refs log tree commit diff
path: root/pkgs/development/libraries/ilixi/default.nix
blob: 385baaaf10df47a26ed39328f575fa9f98f2fa62 (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
{ lib, stdenv, fetchFromGitHub, pkg-config, directfb, libsigcxx, libxml2, fontconfig }:

# TODO: optional deps: baresip, FusionDale, FusionSound, SaWMan, doxygen,
# Reflex, Wnn, NLS

stdenv.mkDerivation rec {
  pname = "ilixi";
  version = "1.0.0";

  src = fetchFromGitHub {
    owner = "ilixi";
    repo = "ilixi";
    rev = version;
    sha256 = "05h862r9mhis26v8yf967n86qf8y1gdgfzhbqfsr6pjw1k3v3wdr";
  };

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ directfb libsigcxx libxml2 fontconfig ];

  configureFlags = [
    "--enable-log-debug"
    "--enable-debug"
    "--enable-trace"
    "--with-examples"
  ];

  meta = with lib; {
    description = "Lightweight C++ GUI toolkit for embedded Linux systems";
    homepage = "https://github.com/ilixi/ilixi";
    license = licenses.lgpl3;
    platforms = platforms.linux;
    maintainers = [ maintainers.bjornfor ];
    broken = true; # broken by the directfb 1.6.3 -> 1.7.6 update
  };
}