materialx: move to python3Packages

This commit is contained in:
Robert Schütz
2024-07-09 23:56:03 -07:00
parent d29ed7ae46
commit aea9ae5e59
3 changed files with 10 additions and 5 deletions
@@ -1,19 +1,20 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
cmake,
setuptools,
darwin,
libX11,
libXt,
libGL,
openimageio,
imath,
python3Packages,
python3
python,
}:
python3Packages.buildPythonPackage rec {
buildPythonPackage rec {
pname = "materialx";
version = "1.38.10";
@@ -28,7 +29,7 @@ python3Packages.buildPythonPackage rec {
nativeBuildInputs = [
cmake
python3Packages.setuptools
setuptools
];
buildInputs =
@@ -60,7 +61,7 @@ python3Packages.buildPythonPackage rec {
postInstall = ''
# Make python lib properly accessible
target_dir=$out/${python3.sitePackages}
target_dir=$out/${python.sitePackages}
mkdir -p $(dirname $target_dir)
# required for cmake to find the bindings, when included in other projects
ln -s $out/python $target_dir
+2
View File
@@ -5735,6 +5735,8 @@ with pkgs;
mat2 = with python3.pkgs; toPythonApplication mat2;
materialx = with python3Packages; toPythonApplication materialx;
maxcso = callPackage ../tools/archivers/maxcso { };
measureme = callPackage ../development/tools/rust/measureme { };
+2
View File
@@ -7344,6 +7344,8 @@ self: super: with self; {
material-color-utilities = callPackage ../development/python-modules/material-color-utilities { };
materialx = callPackage ../development/python-modules/materialx { };
matchpy = callPackage ../development/python-modules/matchpy { };
mathlibtools = callPackage ../development/python-modules/mathlibtools { };