mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
a13774ecfe
svn path=/nixpkgs/trunk/; revision=20193
31 lines
805 B
Nix
31 lines
805 B
Nix
{stdenv, fetchurl, mesa, tcl, tk, file, libXmu}:
|
|
|
|
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 tcl tk file libXmu ];
|
|
|
|
preConfigure = ''
|
|
cd ros
|
|
'';
|
|
|
|
configureFlags = [ "--with-tcl=${tcl}/lib" "--with-tk=${tk}/lib" ];
|
|
|
|
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;
|
|
};
|
|
}
|