2013-03-15 14:34:07 +01:00
|
|
|
{stdenv, fetchurl, mesa, tcl, tk, file, libXmu, cmake, libtool, qt4,
|
|
|
|
ftgl, freetype}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-01-14 11:02:37 +01:00
|
|
|
name = "opencascade-oce-0.14.1";
|
2013-03-15 14:34:07 +01:00
|
|
|
src = fetchurl {
|
2014-01-14 11:02:37 +01:00
|
|
|
url = https://github.com/tpaviot/oce/archive/OCE-0.14.1.tar.gz;
|
|
|
|
sha256 = "0pfc94nmzipm6zmxywxbly1cpfr6wadxasqqkkbdvzg937mrwl5d";
|
2013-03-15 14:34:07 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ mesa tcl tk file libXmu libtool qt4 ftgl freetype cmake ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
cmakeFlags="$cmakeFlags -DOCE_INSTALL_PREFIX=$out"
|
|
|
|
'';
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|