forked from mirrors/nixpkgs
python3Packages.pythonocc-core: fix linking
This commit is contained in:
parent
6d02a514db
commit
ef06f44700
|
@ -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 = [
|
||||
|
|
|
@ -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;
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue