mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-23 05:14:45 +00:00
Merge pull request #167092 from risicle/ris-freetype-passthru-tests
freetype: add some key reverse dependencies to passthru.tests
This commit is contained in:
commit
9095c23c81
@ -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…
Reference in New Issue
Block a user