2010-02-19 14:25:23 +00:00
|
|
|
{stdenv, fetchurl, mesa, tcl, tk, file}:
|
2009-01-27 08:14:27 +00:00
|
|
|
|
2010-01-27 18:27:55 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2009-01-27 08:14:27 +00:00
|
|
|
name = "opencascade-6.3.0";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://files.opencascade.com/OCC_6.3_release/OpenCASCADE_src.tgz;
|
|
|
|
md5 = "52778127974cb3141c2827f9d40d1f11";
|
|
|
|
};
|
|
|
|
|
2010-02-19 14:25:23 +00:00
|
|
|
buildInputs = [ mesa tcl tk file ];
|
2009-01-27 08:14:27 +00:00
|
|
|
|
2010-02-18 10:25:33 +00:00
|
|
|
preConfigure = ''
|
|
|
|
cd ros
|
|
|
|
'';
|
2009-01-27 08:14:27 +00:00
|
|
|
|
2010-01-27 18:27:55 +00:00
|
|
|
postInstall = ''
|
|
|
|
mv $out/inc $out/include
|
|
|
|
ensureDir $out/share/doc/${name}
|
|
|
|
cp -R ../doc $out/share/doc/${name}
|
|
|
|
'';
|
|
|
|
|
2009-01-27 08:14:27 +00:00
|
|
|
meta = {
|
|
|
|
description = "Open CASCADE Technology, libraries for 3D modeling and numerical simulation";
|
|
|
|
homepage = http://www.opencascade.org/;
|
2009-10-01 20:18:17 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
2009-01-27 08:14:27 +00:00
|
|
|
};
|
|
|
|
}
|