1 { stdenv, lib, fetchgit, pkg-config, meson, ninja, scdoc
2 , freetype, fontconfig, pixman, tllist, check
7 stdenv.mkDerivation rec {
12 url = "https://codeberg.org/dnkl/fcft.git";
14 sha256 = "0314r038jl17hrhc9nrbx30jk0pz8ckbdnizws4r46b1rf4h0b1f";
17 nativeBuildInputs = [ pkg-config meson ninja scdoc ];
18 buildInputs = [ freetype fontconfig pixman tllist ]
19 ++ lib.optional withHarfBuzz harfbuzz;
20 checkInputs = [ check ];
24 "-Dtext-shaping=${if withHarfBuzz then "enabled" else "disabled"}"
30 homepage = "https://codeberg.org/dnkl/fcft";
31 description = "Simple library for font loading and glyph rasterization";
32 maintainers = with maintainers; [
36 license = licenses.mit;
37 platforms = with platforms; linux;