nixpkgs/pkgs/applications/graphics/paraview/default.nix
Lluís Batlle i Rossell 8d1e116069 Updating paraview
svn path=/nixpkgs/trunk/; revision=24651
2010-11-10 18:13:04 +00:00

28 lines
714 B
Nix

{ fetchurl, stdenv, cmake, qt4 }:
stdenv.mkDerivation rec {
name = "paraview-3.8.1";
src = fetchurl {
url = "http://www.paraview.org/files/v3.8/ParaView-3.8.1.tar.gz";
sha256 = "0g169vc956gifkd90lcini63dkr5x3id3hkwcwxzriqamxr72r1p";
};
preConfigure = ''
export NIX_LDFLAGS="$NIX_LDFLAGS -rpath $out/lib/paraview-3.8"
'';
# I don't enable it due to memory bounds
enableParallelBuilding = false;
buildInputs = [ cmake qt4 ];
meta = {
homepage = "http://www.paraview.org/";
description = "3D Data analysis and visualization application";
license = "free";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
}