opencascade: Adding ode version

(Open Community version)
This commit is contained in:
Lluís Batlle i Rossell 2013-03-15 14:34:07 +01:00
parent 098190c9dd
commit 9db9af4fa6
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{stdenv, fetchurl, mesa, tcl, tk, file, libXmu, cmake, libtool, qt4,
ftgl, freetype}:
stdenv.mkDerivation rec {
name = "opencascade-oce-0.13-dev";
src = fetchurl {
url = https://api.github.com/repos/tpaviot/oce/tarball/bd77743bfa0e765c3a57d116a62d75b50e1a455;
name = "${name}.tar.gz";
sha256 = "1w7z326la9427yb23hbalsksk6w4ma5xil4jscnvi8mk6g48wyxv";
};
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;
};
}

View File

@ -4660,6 +4660,8 @@ let
ftgl = ftgl212;
};
opencascade_oce = callPackage ../development/libraries/opencascade/oce.nix { };
opencsg = callPackage ../development/libraries/opencsg { };
openct = callPackage ../development/libraries/openct { };