mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
python3Packages.fonttools: fix for aarch64-darwin
skia-pathops is broken on aarch64-darwin
This commit is contained in:
parent
0929936b21
commit
8e7f3ac8f6
@ -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" ];
|
||||
|
||||
|
@ -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'
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user