depot/third_party/nixpkgs/pkgs/development/libraries/fcft/default.nix
Default email 58f8944c92 Project import generated by Copybara.
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
2020-09-24 23:45:31 -05:00

29 lines
809 B
Nix

{ stdenv, lib, fetchgit, pkg-config, meson, ninja, scdoc
,freetype, fontconfig, pixman, tllist, check }:
stdenv.mkDerivation rec {
pname = "fcft";
version = "2.2.6";
src = fetchgit {
url = "https://codeberg.org/dnkl/fcft.git";
rev = "${version}";
sha256 = "06zywvvgrch9k4d07bir2sxddwsli2gzpvlvjfcwbrj3bw5x6j1b";
};
nativeBuildInputs = [ pkg-config meson ninja scdoc ];
buildInputs = [ freetype fontconfig pixman tllist ];
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;
};
}