python3Packages.fonttools: Only pull in skia-pathops when it's available

This commit is contained in:
OPNA2608
2025-09-27 00:07:01 +02:00
parent c5c808adf7
commit 3cc4d90d49

View File

@@ -61,7 +61,7 @@ buildPythonPackage rec {
plot = [ matplotlib ];
symfont = [ sympy ];
type1 = lib.optional stdenv.hostPlatform.isDarwin xattr;
pathops = [ skia-pathops ];
pathops = lib.optional (lib.meta.availableOn stdenv.hostPlatform skia-pathops) skia-pathops;
repacker = [ uharfbuzz ];
};
in