File tree Expand file tree Collapse file tree
pkgs/development/python-modules/openusd Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,6 +72,12 @@ buildPythonPackage rec {
7272 url = "https://github.com/PixarAnimationStudios/OpenUSD/commit/9ea3bc1ab550ec46c426dab04292d9667ccd2518.patch?full_index=1" ;
7373 hash = "sha256-QjA3kjUDsSleUr+S/bQLb+QK723SNFvnmRPT+ojjgq8=" ;
7474 } )
75+ ( fetchpatch {
76+ # https://github.com/PixarAnimationStudios/OpenUSD/pull/3648
77+ name = "propagate-dependencies-opengl.patch" ;
78+ url = "https://gitlab.archlinux.org/archlinux/packaging/packages/usd/-/raw/41469f20113d3550c5b42e67d1139dedc1062b8c/usd-find-dependency-OpenGL.patch?full_index=1" ;
79+ hash = "sha256-aUWGKn365qov0ttGOq5GgNxYGIGZ4DfmeMJfakbOugQ=" ;
80+ } )
7581 ] ;
7682
7783 env . OSL_LOCATION = "${ osl } " ;
@@ -125,7 +131,6 @@ buildPythonPackage rec {
125131 tbb
126132 ]
127133 ++ lib . optionals stdenv . hostPlatform . isLinux [
128- libGL
129134 libX11
130135 libXt
131136 ]
@@ -142,6 +147,9 @@ buildPythonPackage rec {
142147 pyopengl
143148 distutils
144149 ]
150+ ++ lib . optionals stdenv . hostPlatform . isLinux [
151+ libGL
152+ ]
145153 ++ lib . optionals ( withTools || withUsdView ) [
146154 pyside-tools-uic
147155 pyside6
You can’t perform that action at this time.
0 commit comments