2014-01-25 02:21:54 +04:00
|
|
|
{ stdenv, fetchurl, cmake, boost, gmp, mpfr }:
|
2012-01-26 22:28:53 +04:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-08-16 19:30:27 +03:00
|
|
|
version = "4.6.1";
|
2014-01-25 02:21:54 +04:00
|
|
|
|
2012-01-26 22:28:53 +04:00
|
|
|
name = "cgal-${version}";
|
2014-01-25 02:21:54 +04:00
|
|
|
|
2012-01-26 22:28:53 +04:00
|
|
|
src = fetchurl {
|
2015-08-16 19:30:27 +03:00
|
|
|
url = "https://github.com/CGAL/releases/archive/releases/CGAL-${version}.tar.gz";
|
|
|
|
sha256 = "09ph5qi7ixbkk3jssq3pdjf2nyw91s73dizi2mkx6brhrzd1zd5y";
|
2012-01-26 22:28:53 +04:00
|
|
|
};
|
|
|
|
|
2014-10-01 23:55:40 +04:00
|
|
|
buildInputs = [ cmake boost gmp mpfr ];
|
2012-01-26 22:28:53 +04:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2014-01-25 02:21:54 +04:00
|
|
|
meta = with stdenv.lib; {
|
2012-01-26 22:28:53 +04:00
|
|
|
description = "Computational Geometry Algorithms Library";
|
|
|
|
homepage = "http://cgal.org/";
|
2014-01-25 02:21:54 +04:00
|
|
|
license = licenses.gpl3Plus; # some parts are GPLv3+, some are LGPLv3+
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.raskin ];
|
2012-01-26 22:28:53 +04:00
|
|
|
};
|
|
|
|
}
|