nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, lib, fetchgit, pkg-config, meson, ninja, scdoc
2,freetype, fontconfig, pixman, tllist, check }:
3
4stdenv.mkDerivation rec {
5 pname = "fcft";
6 version = "2.2.6";
7
8 src = fetchgit {
9 url = "https://codeberg.org/dnkl/fcft.git";
10 rev = "${version}";
11 sha256 = "06zywvvgrch9k4d07bir2sxddwsli2gzpvlvjfcwbrj3bw5x6j1b";
12 };
13
14 nativeBuildInputs = [ pkg-config meson ninja scdoc ];
15 buildInputs = [ freetype fontconfig pixman tllist ];
16 checkInputs = [ check ];
17
18 mesonFlags = [ "--buildtype=release" ];
19
20 doCheck = true;
21
22 meta = with lib; {
23 homepage = "https://codeberg.org/dnkl/fcft";
24 description = "Simple library for font loading and glyph rasterization";
25 maintainers = with maintainers; [ fionera ];
26 license = licenses.mit;
27 platforms = with platforms; linux;
28 };
29}