freecad: clean up dependencies

- libf2c: It was removed upstream in 2012 [1]. It was added to the nix package in 2011 in 60844f7488 and is no longer required.
- swig: move to nativeBuildInputs. `swig` is an interface compiler and is not required at runtime.
- doxygen: move to nativeBuildInputs. `doxygen` is required to build docs, but is unnecessary at runtime.

[1] https://github.com/FreeCAD/FreeCAD/commit/4af0ca1401716d47faec5d7111ffcd5281899f2c
This commit is contained in:
Grimmauld
2025-05-19 23:36:57 +02:00
parent 84fbb41ac8
commit dd009f4a82
+2 -4
View File
@@ -10,7 +10,6 @@
gfortran,
gts,
hdf5,
libf2c,
libGLU,
libredwg,
libsForQt5,
@@ -81,6 +80,8 @@ freecad-utils.makeCustomizable (
ninja
pkg-config
gfortran
swig
doxygen
wrapGAppsHook3
]
++ lib.optionals (qtVersion == 5) [
@@ -93,7 +94,6 @@ freecad-utils.makeCustomizable (
[
boost
coin3d
doxygen
eigen
fmt
gitpython # for addon manager
@@ -101,7 +101,6 @@ freecad-utils.makeCustomizable (
hdf5
libGLU
libXmu
libf2c
matplotlib
medfile
mpi
@@ -115,7 +114,6 @@ freecad-utils.makeCustomizable (
python
pyyaml # (at least for) PyrateWorkbench
scipy
swig
vtk
xercesc
yaml-cpp