nixpkgs/pkgs/development/libraries/fcft/default.nix

30 lines
823 B
Nix
Raw Normal View History

{ stdenv, lib, fetchgit, pkg-config, meson, ninja, scdoc
2020-10-12 17:05:55 +01:00
,freetype, fontconfig, harfbuzz, pixman, tllist, check }:
2020-07-06 04:07:05 +01:00
stdenv.mkDerivation rec {
pname = "fcft";
2020-12-18 13:43:42 +00:00
version = "2.3.2";
2020-07-06 04:07:05 +01:00
src = fetchgit {
url = "https://codeberg.org/dnkl/fcft.git";
2020-10-12 17:05:55 +01:00
rev = version;
2020-12-18 13:43:42 +00:00
sha256 = "0k2i57rakm4g86f7hbhkby8af0vv7v63a70lk3m58mkycpy5q2rm";
2020-07-06 04:07:05 +01:00
};
nativeBuildInputs = [ pkg-config meson ninja scdoc ];
2020-10-12 17:05:55 +01:00
buildInputs = [ freetype fontconfig pixman tllist harfbuzz ];
checkInputs = [ check ];
mesonFlags = [ "--buildtype=release" ];
doCheck = true;
2020-07-06 04:07:05 +01:00
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;
};
}