Merge pull request #167092 from risicle/ris-freetype-passthru-tests

freetype: add some key reverse dependencies to passthru.tests
This commit is contained in:
Sandro 2022-05-09 16:13:16 +02:00 committed by GitHub
commit 9095c23c81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,6 +7,21 @@
# LCD filtering is also known as ClearType and covered by several Microsoft patents.
# This option allows it to be disabled. See http://www.freetype.org/patents.html.
useEncumberedCode ? true
# for passthru.tests
, cairo
, fontforge
, ghostscript
, graphicsmagick
, gtk3
, harfbuzz
, imagemagick
, pango
, poppler
, python3
, qt5
, texmacs
, ttfautohint
}:
@ -52,6 +67,23 @@ stdenv.mkDerivation rec {
--set PKG_CONFIG_PATH "$PKG_CONFIG_PATH:$dev/lib/pkgconfig"
'';
passthru.tests = {
inherit
cairo
fontforge
ghostscript
graphicsmagick
gtk3
harfbuzz
imagemagick
pango
poppler
texmacs
ttfautohint;
inherit (python3.pkgs) freetype-py;
inherit (qt5) qtbase;
};
meta = with lib; {
description = "A font rendering engine";
longDescription = ''