diff options
| author | Ben Darwin <bcdarwin@gmail.com> | 2023-09-18 12:36:24 -0400 |
|---|---|---|
| committer | Ben Darwin <bcdarwin@gmail.com> | 2023-09-18 13:37:08 -0400 |
| commit | cc12dbf5bb951bbbb2f0a5d3646967a03290e46c (patch) | |
| tree | 8282f613c6ddd3e8502c6294bf328497e8fb5854 /pkgs/development/python-modules/pythonocc-core | |
| parent | 8c0a9c12b1b35b43ff44a82534f0557c9236159b (diff) | |
python3Packages.pythonocc-core: remove unused `smesh` dependency
Use of `smesh` was removed in version 7.4.0 as per the NEWS file.
Diffstat (limited to 'pkgs/development/python-modules/pythonocc-core')
| -rw-r--r-- | pkgs/development/python-modules/pythonocc-core/default.nix | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/pythonocc-core/default.nix b/pkgs/development/python-modules/pythonocc-core/default.nix index 7873574b0a1b..cedf05029c9c 100644 --- a/pkgs/development/python-modules/pythonocc-core/default.nix +++ b/pkgs/development/python-modules/pythonocc-core/default.nix @@ -1,4 +1,7 @@ -{ 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 ]; |
