coin3d: unvendor expat

closes #544607

Using the ancient vendored `expat` 2.2.10 from 2020-10-03 is a security
nightmare. It also recently started exploding due to symbol collisions
with the significantly newer expat used in python3, crashing FreeCAD.

Co-authored-by: Patrick Lawrence <patrick.lawrence@gmail.com>
This commit is contained in:
Grimmauld
2026-08-01 13:00:34 +02:00
parent ad1842c892
commit e1060cde30

View File

@@ -7,6 +7,7 @@
libGL,
libGLU,
libx11,
expat,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -26,9 +27,14 @@ stdenv.mkDerivation (finalAttrs: {
boost
libGL
libGLU
expat
]
++ lib.optional stdenv.hostPlatform.isLinux libx11;
cmakeFlags = [
(lib.cmakeBool "USE_EXTERNAL_EXPAT" true)
];
meta = {
homepage = "https://github.com/coin3d/coin";
description = "High-level, retained-mode toolkit for effective 3D graphics development";