cgal: propagate boost

This commit is contained in:
qbisi
2025-10-03 13:19:49 +08:00
parent fbe9254132
commit 9b48e6f7cc
+17 -3
View File
@@ -6,6 +6,7 @@
boost,
gmp,
mpfr,
testers,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -17,19 +18,32 @@ stdenv.mkDerivation (finalAttrs: {
sha256 = "sha256-8wxb58JaKj6iS8y6q1z2P6/aY8AnnzTX5/izISgh/tY=";
};
patches = [ ./cgal_path.patch ];
nativeBuildInputs = [ cmake ];
# note: optional component libCGAL_ImageIO would need zlib and opengl;
# there are also libCGAL_Qt{3,4} omitted ATM
buildInputs = [
boost
gmp
mpfr
];
nativeBuildInputs = [ cmake ];
patches = [ ./cgal_path.patch ];
propagatedBuildInputs = [
boost
];
doCheck = false;
passthru = {
tests = {
cmake-config = testers.hasCmakeConfigModules {
moduleNames = [ "CGAL" ];
package = finalAttrs.finalPackage;
};
};
};
meta = {
description = "Computational Geometry Algorithms Library";
homepage = "http://cgal.org";