Commit cc12dbf5 authored by Ben Darwin's avatar Ben Darwin
Browse files

python3Packages.pythonocc-core: remove unused `smesh` dependency

Use of `smesh` was removed in version 7.4.0 as per the NEWS file.
parent 8c0a9c12
Loading
Loading
Loading
Loading
+6 −7
Original line number Diff line number Diff line
{ lib, stdenv, python, fetchFromGitHub
{ lib
, stdenv
, python
, fetchFromGitHub
, cmake
, Cocoa
, fontconfig
@@ -11,7 +14,6 @@
, libXmu
, opencascade-occt
, rapidjson
, smesh
, swig4
}:

@@ -34,7 +36,7 @@ stdenv.mkDerivation rec {

  nativeBuildInputs = [ cmake swig4 ];
  buildInputs = [
    python opencascade-occt smesh
    python opencascade-occt
    freetype libGL libGLU libX11 libXext libXmu libXi
    fontconfig rapidjson
  ] ++ lib.optionals stdenv.isDarwin [ Cocoa ];
@@ -42,10 +44,6 @@ stdenv.mkDerivation rec {
  cmakeFlags = [
    "-Wno-dev"
    "-DPYTHONOCC_INSTALL_DIRECTORY=${placeholder "out"}/${python.sitePackages}/OCC"

    "-DSMESH_INCLUDE_PATH=${smesh}/include/smesh"
    "-DSMESH_LIB_PATH=${smesh}/lib"
    "-DPYTHONOCC_WRAP_SMESH=TRUE"
  ];

  passthru = {
@@ -57,6 +55,7 @@ stdenv.mkDerivation rec {
  meta = with lib; {
    description = "Python wrapper for the OpenCASCADE 3D modeling kernel";
    homepage = "https://github.com/tpaviot/pythonocc-core";
    changelog = "https://github.com/tpaviot/pythonocc-core/releases/tag/${version}";
    license = licenses.lgpl3;
    platforms = platforms.unix;
    maintainers = with maintainers; [ gebner ];