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

freetype: add some key reverse dependencies to passthru.tests
main
Sandro 2 years ago committed by GitHub
commit 9095c23c81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 32
      pkgs/development/libraries/freetype/default.nix

@ -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 = ''

Loading…
Cancel
Save