2020-08-15 00:31:43 +01:00
|
|
|
{ stdenv, lib, fetchgit, pkg-config, meson, ninja, scdoc
|
|
|
|
,freetype, fontconfig, pixman, tllist }:
|
2020-07-06 04:07:05 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fcft";
|
2020-08-15 00:31:43 +01:00
|
|
|
version = "2.2.6";
|
2020-07-06 04:07:05 +01:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://codeberg.org/dnkl/fcft.git";
|
|
|
|
rev = "${version}";
|
2020-08-15 00:31:43 +01:00
|
|
|
sha256 = "06zywvvgrch9k4d07bir2sxddwsli2gzpvlvjfcwbrj3bw5x6j1b";
|
2020-07-06 04:07:05 +01:00
|
|
|
};
|
|
|
|
|
2020-08-15 00:31:43 +01:00
|
|
|
nativeBuildInputs = [ pkg-config meson ninja scdoc ];
|
2020-07-06 04:07:05 +01:00
|
|
|
buildInputs = [ freetype fontconfig pixman tllist ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://codeberg.org/dnkl/fcft";
|
|
|
|
description = "Simple library for font loading and glyph rasterization";
|
|
|
|
maintainers = with maintainers; [ fionera ];
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = with platforms; linux;
|
|
|
|
};
|
|
|
|
}
|