about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/fcft/default.nix
blob: 1ce09b63cbed25246744a2e9ec8f2573cfaf6c4e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ 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;
  };
}