blender: Update to 2.71

This commit is contained in:
Eelco Dolstra 2014-07-15 22:52:23 +02:00
parent 889b3f5f83
commit 2d8e880c82
2 changed files with 8 additions and 3 deletions

View File

@ -6,11 +6,11 @@
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "blender-2.70a"; name = "blender-2.71";
src = fetchurl { src = fetchurl {
url = "http://download.blender.org/source/${name}.tar.gz"; url = "http://download.blender.org/source/${name}.tar.gz";
sha256 = "1rgkijn1nirj3jwh058zv6piw8q4j5wwjapgbvh2hh6fpbj84bgb"; sha256 = "18pzcnrs4rcb6mf6aqr9xj2r05v8aay8daj31395ljfzw667zakx";
}; };
buildInputs = buildInputs =
@ -19,6 +19,11 @@ stdenv.mkDerivation rec {
opencolorio openexr openimageio openjpeg python zlib opencolorio openexr openimageio openjpeg python zlib
] ++ stdenv.lib.optional jackaudioSupport jackaudio; ] ++ stdenv.lib.optional jackaudioSupport jackaudio;
postUnpack =
''
substituteInPlace */doc/manpage/blender.1.py --replace /usr/bin/python ${python}/bin/python3
'';
cmakeFlags = cmakeFlags =
[ "-DOPENEXR_INC=${openexr}/include/OpenEXR" [ "-DOPENEXR_INC=${openexr}/include/OpenEXR"
"-DWITH_OPENCOLLADA=OFF" "-DWITH_OPENCOLLADA=OFF"

View File

@ -8170,7 +8170,7 @@ let
}; };
blender = callPackage ../applications/misc/blender { blender = callPackage ../applications/misc/blender {
python = python3; python = python34;
}; };
bristol = callPackage ../applications/audio/bristol { }; bristol = callPackage ../applications/audio/bristol { };