9 stdenv.mkDerivation rec {
13 src = fetchFromGitHub {
16 rev = "CGAL-${version}";
17 sha256 = "sha256-ISmuxvCLb2ueG3FeBzJ7R+LievfXefG3ZQbyAboIv+A=";
20 # note: optional component libCGAL_ImageIO would need zlib and opengl;
21 # there are also libCGAL_Qt{3,4} omitted ATM
22 buildInputs = [ boost gmp mpfr ];
23 nativeBuildInputs = [ cmake ];
25 patches = [ ./cgal_path.patch ];
30 description = "Computational Geometry Algorithms Library";
31 homepage = "http://cgal.org";
32 license = with licenses; [ gpl3Plus lgpl3Plus];
33 platforms = platforms.all;
34 maintainers = [ maintainers.raskin ];