nixpkgs/pkgs/development/libraries/opencascade/default.nix
Lluís Batlle i Rossell db04d4f644 Making opencascade put header files in 'include', and not 'inc'. I also make
it to install the documentation.

svn path=/nixpkgs/trunk/; revision=19715
2010-01-27 18:27:55 +00:00

26 lines
706 B
Nix

{stdenv, fetchurl, mesa, qt4, tcl, tk}:
stdenv.mkDerivation rec {
name = "opencascade-6.3.0";
src = fetchurl {
url = http://files.opencascade.com/OCC_6.3_release/OpenCASCADE_src.tgz;
md5 = "52778127974cb3141c2827f9d40d1f11";
};
buildInputs = [ mesa qt4 tcl tk];
preConfigure = "cd ros";
postInstall = ''
mv $out/inc $out/include
ensureDir $out/share/doc/${name}
cp -R ../doc $out/share/doc/${name}
'';
meta = {
description = "Open CASCADE Technology, libraries for 3D modeling and numerical simulation";
homepage = http://www.opencascade.org/;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
}