776adb5704
Kept the old hacks where they don't break the build in case they things they fix are still relevant. I checked that the upgrade doesn't break: 1) Asymptote and EProver builds. 2) My XeLaTeX demo from configurations/ repository. 3) Some of my own files. The upgrade fixes problems with simultaneous use of 3D and LaTeX labels in Asymptote. Please provide a test that worked previously and is broken now if you need to revert this update or its parts.
21 lines
611 B
Nix
21 lines
611 B
Nix
{ stdenv, fetchurl, pkgconfig, freetype, libXft, pango, fontconfig, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.2.3";
|
|
name = "graphite2-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/silgraphite/graphite2/${name}.tgz";
|
|
sha256 = "1xgwnd81gm6p293x8paxb3yisnvpj5qnv1dzr7bjdi7b7h00ls7g";
|
|
};
|
|
|
|
buildInputs = [pkgconfig freetype libXft pango fontconfig cmake];
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${freetype}/include/freetype2";
|
|
|
|
meta = {
|
|
description = "An advanced font engine";
|
|
maintainers = [ stdenv.lib.maintainers.raskin ];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|