2014-01-24 23:21:54 +01:00
|
|
|
{ stdenv, fetchurl, cmake, boost, gmp, mpfr }:
|
2012-01-26 19:28:53 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-08-31 17:59:14 +02:00
|
|
|
version = "4.4";
|
2014-01-24 23:21:54 +01:00
|
|
|
|
2012-01-26 19:28:53 +01:00
|
|
|
name = "cgal-${version}";
|
2014-01-24 23:21:54 +01:00
|
|
|
|
2012-01-26 19:28:53 +01:00
|
|
|
src = fetchurl {
|
2014-08-31 17:59:14 +02:00
|
|
|
url = "https://gforge.inria.fr/frs/download.php/33526/CGAL-${version}.tar.xz";
|
|
|
|
sha256 = "1s0ylyrx74vgw6vsg6xxk4b07jrxh8pqcmxcbkx46v01nczv3ixj";
|
2012-01-26 19:28:53 +01:00
|
|
|
};
|
|
|
|
|
2014-09-19 19:56:08 +02:00
|
|
|
buildInputs = [ cmake boost boost.lib gmp mpfr ];
|
2012-01-26 19:28:53 +01:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2014-01-24 23:21:54 +01:00
|
|
|
meta = with stdenv.lib; {
|
2012-01-26 19:28:53 +01:00
|
|
|
description = "Computational Geometry Algorithms Library";
|
|
|
|
homepage = "http://cgal.org/";
|
2014-01-24 23:21:54 +01:00
|
|
|
license = licenses.gpl3Plus; # some parts are GPLv3+, some are LGPLv3+
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.raskin ];
|
2012-01-26 19:28:53 +01:00
|
|
|
};
|
|
|
|
}
|