3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.pythonocc-core: fix linking

This commit is contained in:
Jonathan Ringer 2022-02-07 12:33:50 -08:00
parent 6d02a514db
commit ef06f44700
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0
2 changed files with 16 additions and 4 deletions

View file

@ -1,5 +1,17 @@
{ lib, stdenv, python, fetchFromGitHub, cmake, swig, opencascade-occt, smesh, freetype, libGL, libGLU, libX11
, Cocoa }:
{ lib, stdenv, python, fetchFromGitHub
, cmake
, Cocoa
, freetype
, libGL
, libGLU
, libX11
, libXext
, libXi
, libXmu
, opencascade-occt
, smesh
, swig
}:
stdenv.mkDerivation rec {
pname = "pythonocc-core";
@ -21,7 +33,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake swig ];
buildInputs = [
python opencascade-occt smesh
freetype libGL libGLU libX11
freetype libGL libGLU libX11 libXext libXmu libXi
] ++ lib.optionals stdenv.isDarwin [ Cocoa ];
cmakeFlags = [

View file

@ -8051,7 +8051,7 @@ in {
python-oauth2 = callPackage ../development/python-modules/python-oauth2 { };
pythonocc-core = toPythonModule (callPackage ../development/python-modules/pythonocc-core {
inherit (pkgs.xorg) libX11;
inherit (pkgs.xorg) libX11 libXi libXmu libXext;
inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa;
});