appleseed: use python3

+4 -3
+4 -3
pkgs/tools/graphics/appleseed/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, cmake, boost165, pkg-config, guile, 2 - eigen, libpng, python, libGLU, qt4, openexr, openimageio, 3 opencolorio_1, xercesc, ilmbase, osl, seexpr, makeWrapper 4 }: 5 6 let boost_static = boost165.override { 7 enableStatic = true; 8 enablePython = true; 9 }; 10 in stdenv.mkDerivation rec { 11 ··· 20 }; 21 nativeBuildInputs = [ cmake pkg-config makeWrapper ]; 22 buildInputs = [ 23 - boost_static guile eigen libpng python 24 libGLU qt4 openexr openimageio opencolorio_1 xercesc 25 osl seexpr 26 ]; ··· 59 # Work around a bug in the CMake build: 60 postInstall = '' 61 chmod a+x $out/bin/* 62 - wrapProgram $out/bin/appleseed.studio --set PYTHONHOME ${python} 63 ''; 64 } 65
··· 1 { lib, stdenv, fetchFromGitHub, cmake, boost165, pkg-config, guile, 2 + eigen, libpng, python3, libGLU, qt4, openexr, openimageio, 3 opencolorio_1, xercesc, ilmbase, osl, seexpr, makeWrapper 4 }: 5 6 let boost_static = boost165.override { 7 enableStatic = true; 8 enablePython = true; 9 + python = python3; 10 }; 11 in stdenv.mkDerivation rec { 12 ··· 21 }; 22 nativeBuildInputs = [ cmake pkg-config makeWrapper ]; 23 buildInputs = [ 24 + boost_static guile eigen libpng python3 25 libGLU qt4 openexr openimageio opencolorio_1 xercesc 26 osl seexpr 27 ]; ··· 60 # Work around a bug in the CMake build: 61 postInstall = '' 62 chmod a+x $out/bin/* 63 + wrapProgram $out/bin/appleseed.studio --set PYTHONHOME ${python3} 64 ''; 65 } 66