2525 pkg-config ,
2626 python3Packages ,
2727 spaceNavSupport ? stdenv . hostPlatform . isLinux ,
28- ifcSupport ? false ,
28+ ifcSupport ? false , # Now a no-op, retained on 25.05 branch for backport compat.
2929 stdenv ,
3030 swig ,
3131 vtk ,
4040 nix-update-script ,
4141} :
4242let
43- pythonDeps =
44- with python3Packages ;
45- [
46- boost
47- gitpython # for addon manager
48- matplotlib
49- opencamlib
50- pivy
51- ply # for openSCAD file support
52- py-slvs
53- pybind11
54- pycollada
55- pyside2
56- pyside2-tools
57- pyside6
58- python
59- pyyaml # (at least for) PyrateWorkbench
60- scipy
61- shiboken2
62- shiboken6
63- ]
64- ++ lib . optionals ifcSupport [
65- ifcopenshell
66- ] ;
43+ pythonDeps = with python3Packages ; [
44+ boost
45+ gitpython # for addon manager
46+ ifcopenshell
47+ matplotlib
48+ opencamlib
49+ pivy
50+ ply # for openSCAD file support
51+ py-slvs
52+ pybind11
53+ pycollada
54+ pyside2
55+ pyside2-tools
56+ pyside6
57+ python
58+ pyyaml # (at least for) PyrateWorkbench
59+ scipy
60+ shiboken2
61+ shiboken6
62+ ] ;
6763
6864 freecad-utils = callPackage ./freecad-utils.nix { } ;
6965in
@@ -90,7 +86,7 @@ freecad-utils.makeCustomizable (
9086 wrapGAppsHook3
9187 ]
9288 ++ lib . optionals ( qtVersion == 5 ) [
93- pyside2-tools
89+ python3Packages . pyside2-tools
9490 qt5 . wrapQtAppsHook
9591 ]
9692 ++ lib . optionals ( qtVersion == 6 ) [ qt6 . wrapQtAppsHook ] ;
@@ -114,9 +110,9 @@ freecad-utils.makeCustomizable (
114110 ++ lib . optionals ( qtVersion == 5 ) [
115111 libsForQt5 . soqt
116112 opencascade-occt_7_6
117- pyside2
118- pyside2-tools
119- shiboken2
113+ python3Packages . pyside2
114+ python3Packages . pyside2-tools
115+ python3Packages . shiboken2
120116 qt5 . qtbase
121117 qt5 . qttools
122118 qt5 . qtwayland
@@ -162,13 +158,13 @@ freecad-utils.makeCustomizable (
162158 ]
163159 ++ lib . optionals ( qtVersion == 5 ) [
164160 "-DBUILD_QT5=ON"
165- "-DSHIBOKEN_INCLUDE_DIR=${ shiboken2 } /include"
161+ "-DSHIBOKEN_INCLUDE_DIR=${ python3Packages . shiboken2 } /include"
166162 "-DSHIBOKEN_LIBRARY=Shiboken2::libshiboken"
167163 (
168- "-DPYSIDE_INCLUDE_DIR=${ pyside2 } /include"
169- + ";${ pyside2 } /include/PySide2/QtCore"
170- + ";${ pyside2 } /include/PySide2/QtWidgets"
171- + ";${ pyside2 } /include/PySide2/QtGui"
164+ "-DPYSIDE_INCLUDE_DIR=${ python3Packages . pyside2 } /include"
165+ + ";${ python3Packages . pyside2 } /include/PySide2/QtCore"
166+ + ";${ python3Packages . pyside2 } /include/PySide2/QtWidgets"
167+ + ";${ python3Packages . pyside2 } /include/PySide2/QtGui"
172168 )
173169 "-DPYSIDE_LIBRARY=PySide2::pyside2"
174170 ]
0 commit comments