openusd: init as python3Packages.openusd but with executables

Disable building these executables when obtaining via python3*Packages,
as most likely one is using that for the libraries instead, massively
reducing build times and closure size for such use cases.
This commit is contained in:
Andrew Marshall 2024-03-06 18:17:53 -05:00
parent 35b335fe07
commit 108ce1896e
2 changed files with 7 additions and 2 deletions

View file

@ -33,8 +33,8 @@
tbb, tbb,
withDocs ? false, withDocs ? false,
withOsl ? true, withOsl ? true,
withTools ? true, withTools ? false,
withUsdView ? true, withUsdView ? false,
writeShellScriptBin, writeShellScriptBin,
}: }:

View file

@ -2001,6 +2001,11 @@ with pkgs;
openbugs = pkgsi686Linux.callPackage ../applications/science/machine-learning/openbugs { }; openbugs = pkgsi686Linux.callPackage ../applications/science/machine-learning/openbugs { };
openusd = python3Packages.openusd.override {
withTools = true;
withUsdView = true;
};
osquery = callPackage ../tools/system/osquery { }; osquery = callPackage ../tools/system/osquery { };
paperview = callPackage ../tools/X11/paperview { }; paperview = callPackage ../tools/X11/paperview { };