File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 66 cmake ,
77 help2man ,
88 gzip ,
9+ libXt ,
10+ openusd ,
11+ tbb ,
912 # There is a f3d overridden with EGL enabled vtk in top-level/all-packages.nix
1013 # compiling with EGL enabled vtk will result in f3d running in headless mode
1114 # See https://github.com/NixOS/nixpkgs/pull/324022. This may change later.
1720 fontconfig ,
1821 withManual ? ! stdenv . hostPlatform . isDarwin ,
1922 withPythonBinding ? false ,
23+ withUsd ? openusd . meta . available ,
2024} :
2125
2226stdenv . mkDerivation rec {
@@ -66,6 +70,11 @@ stdenv.mkDerivation rec {
6670 python3Packages . python
6771 # Using C++ header files, not Python import
6872 python3Packages . pybind11
73+ ]
74+ ++ lib . optionals withUsd [
75+ libXt
76+ openusd
77+ tbb
6978 ] ;
7079
7180 cmakeFlags =
@@ -84,6 +93,9 @@ stdenv.mkDerivation rec {
8493 ]
8594 ++ lib . optionals withPythonBinding [
8695 "-DF3D_BINDINGS_PYTHON=ON"
96+ ]
97+ ++ lib . optionals withUsd [
98+ "-DF3D_PLUGIN_BUILD_USD=ON"
8799 ] ;
88100
89101 meta = with lib ; {
You can’t perform that action at this time.
0 commit comments