opencascade-occt: remove unused depdendencies

This commit is contained in:
Gabriel Ebner 2019-06-16 12:00:09 +02:00
parent 611717602b
commit 9a40e48d87

View File

@ -1,33 +1,19 @@
{ stdenv { stdenv, fetchurl, fetchpatch, cmake, ninja, tcl, tk,
, fetchurl libGL, libGLU, libXext, libXmu, libXi }:
, cmake
, tcl
, tk
, vtk
, mesa_glu
, libXext
, libXmu
, libXi
, doxygen
}:
let version = "7.3.0p3"; stdenv.mkDerivation rec {
pname = "opencascade-occt";
version = "7.3.0p3";
commit = "V${builtins.replaceStrings ["."] ["_"] version}"; commit = "V${builtins.replaceStrings ["."] ["_"] version}";
in stdenv.mkDerivation {
name = "opencascade-occt-${version}";
src = fetchurl { src = fetchurl {
name = "occt-${commit}.tar.gz"; name = "occt-${commit}.tar.gz";
url = "https://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=${commit};sf=tgz"; url = "https://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=${commit};sf=tgz";
sha256 = "0k9c3ypcnjcilq1dhsf6xxbd52gyq4h5rchvp30k3c8ph4ris5pz"; sha256 = "0k9c3ypcnjcilq1dhsf6xxbd52gyq4h5rchvp30k3c8ph4ris5pz";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ninja ];
buildInputs = [ tcl tk vtk mesa_glu libXext libXmu libXi doxygen ]; buildInputs = [ tcl tk libGL libGLU libXext libXmu libXi ];
enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Open CASCADE Technology, libraries for 3D modeling and numerical simulation"; description = "Open CASCADE Technology, libraries for 3D modeling and numerical simulation";