3
0
Fork 0
forked from mirrors/nixpkgs

updating paraview to 3.98.1

This commit is contained in:
David Guibert 2013-05-06 22:20:07 +02:00
parent e18f4eb50f
commit 2162794b68

View file

@ -7,19 +7,18 @@
}:
stdenv.mkDerivation rec {
name = "paraview-3.14.0";
name = "paraview-3.98.1";
src = fetchurl {
url = "http://www.paraview.org/files/v3.14/ParaView-3.14.0-Source.tar.gz";
sha256 = "168v8zk64pxcd392kb4zqnkbw540d52bx6fs35aqz88i5jc0x9xv";
url = "http://paraview.org/files/v3.98/ParaView-3.98.1-source.tar.gz";
sha256 = "0i7q3jc4lc40l1zw3fdzv108rpxxfmg3dmmq855fpqyp2g2w9nxp";
};
# [ 5%] Generating vtkGLSLShaderLibrary.h
# ../../../bin/ProcessShader: error while loading shared libraries: libvtksys.so.pv3.10: cannot open shared object file: No such file or directory
preConfigure = ''
export NIX_LDFLAGS="$NIX_LDFLAGS -rpath $out/lib/paraview-3.10 -rpath ../../../bin -rpath ../../bin"
export NIX_LDFLAGS="$NIX_LDFLAGS -rpath $out/lib/paraview-3.98 -rpath ../../../../../../lib -rpath ../../../../../lib -rpath ../../../../lib -rpath ../../../lib -rpath ../../lib -rpath ../lib"
'';
cmakeFlags = [
# "-DPARAVIEW_USE_MPI:BOOL=ON"
"-DPARAVIEW_USE_SYSTEM_HDF5:BOOL=ON"
"-DVTK_USE_SYSTEM_LIBXML2:BOOL=ON"
"-DPARAVIEW_ENABLE_PYTHON:BOOL=ON"
@ -28,8 +27,6 @@ stdenv.mkDerivation rec {
"-DCMAKE_SKIP_BUILD_RPATH=ON"
"-DVTK_USE_RPATH:BOOL=ON"
"-DPARAVIEW_INSTALL_DEVELOPMENT=ON"
# "-DPYTHON_INCLUDE_DIR=${python}/include"
# "-DPYTHON_LIBRARY="
];
enableParallelBuilding = true;
@ -40,7 +37,7 @@ stdenv.mkDerivation rec {
homepage = "http://www.paraview.org/";
description = "3D Data analysis and visualization application";
license = "free";
maintainers = with stdenv.lib.maintainers; [viric];
maintainers = with stdenv.lib.maintainers; [viric guibert];
platforms = with stdenv.lib.platforms; linux;
};
}