cgal: propagate boost
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user