python3Packages.pythonocc-core: add fontconfig
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{ lib, stdenv, python, fetchFromGitHub
|
||||
, cmake
|
||||
, Cocoa
|
||||
, fontconfig
|
||||
, freetype
|
||||
, libGL
|
||||
, libGLU
|
||||
@@ -34,6 +35,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [
|
||||
python opencascade-occt smesh
|
||||
freetype libGL libGLU libX11 libXext libXmu libXi
|
||||
fontconfig
|
||||
] ++ lib.optionals stdenv.isDarwin [ Cocoa ];
|
||||
|
||||
cmakeFlags = [
|
||||
|
||||
@@ -8051,6 +8051,7 @@ in {
|
||||
python-oauth2 = callPackage ../development/python-modules/python-oauth2 { };
|
||||
|
||||
pythonocc-core = toPythonModule (callPackage ../development/python-modules/pythonocc-core {
|
||||
inherit (pkgs) fontconfig;
|
||||
inherit (pkgs.xorg) libX11 libXi libXmu libXext;
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user