python3Packages.fonttools: fix for aarch64-darwin

skia-pathops is broken on aarch64-darwin
This commit is contained in:
Dmitry Kalinkin 2022-06-30 18:53:13 -04:00
parent 0929936b21
commit 8e7f3ac8f6
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333
2 changed files with 7 additions and 3 deletions

View File

@ -57,12 +57,14 @@ buildPythonPackage rec {
checkInputs = [
pytestCheckHook
] ++ lib.concatLists (lib.attrVals [
] ++ lib.concatLists (lib.attrVals ([
"woff"
"interpolatable"
"pathops"
] ++ lib.optionals (!skia-pathops.meta.broken) [
"pathops" # broken
] ++ [
"repacker"
] passthru.optional-dependencies);
]) passthru.optional-dependencies);
pythonImportsCheck = [ "fontTools" ];

View File

@ -1,4 +1,5 @@
{ lib
, stdenv
, buildPythonPackage
, cython
, ninja
@ -39,5 +40,6 @@ buildPythonPackage rec {
homepage = "https://skia.org/dev/present/pathops";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.BarinovMaxim ];
broken = stdenv.isDarwin && stdenv.isAarch64; # clang-11: error: the clang compiler does not support '-march=armv7-a'
};
}