9c6d255489
GitOrigin-RevId: 8133b9cb5f7c00d4fe31c8c2c4b525bc2650bfc0
29 lines
822 B
Nix
29 lines
822 B
Nix
{ stdenv, lib, fetchgit, pkg-config, meson, ninja, scdoc
|
|
,freetype, fontconfig, harfbuzz, pixman, tllist, check }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "fcft";
|
|
version = "2.3.1";
|
|
|
|
src = fetchgit {
|
|
url = "https://codeberg.org/dnkl/fcft.git";
|
|
rev = version;
|
|
sha256 = "sha256-FD3KfaQbSEA1XdmS6YxH+c5fSsra9Ro/KKslb7Brv7U=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config meson ninja scdoc ];
|
|
buildInputs = [ freetype fontconfig pixman tllist harfbuzz ];
|
|
checkInputs = [ check ];
|
|
|
|
mesonFlags = [ "--buildtype=release" ];
|
|
|
|
doCheck = true;
|
|
|
|
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;
|
|
};
|
|
}
|