Adding CGAL: Computational Geometry Algorithms Library

svn path=/nixpkgs/trunk/; revision=31868
This commit is contained in:
Michael Raskin 2012-01-26 18:28:53 +00:00
parent 9f2be8d6b1
commit 53bcb2094f
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{stdenv, fetchurl, cmake, boost, gmp, mpfr
}:
stdenv.mkDerivation rec {
version = "3.9";
name = "cgal-${version}";
src = fetchurl {
url = "https://gforge.inria.fr/frs/download.php/29125/CGAL-${version}.tar.gz";
sha256 = "193vjhzlf7f2kw6dbg5yw8v0izdvmnrylqzqhw92vml7jjnr8494";
};
buildInputs = [cmake boost gmp mpfr ];
doCheck = false;
meta = {
description = "Computational Geometry Algorithms Library";
homepage = "http://cgal.org/";
platforms = with stdenv.lib.platforms;
linux;
maintainers = with stdenv.lib.maintainers;
[raskin];
};
}

View File

@ -3266,6 +3266,8 @@ let
celt = callPackage ../development/libraries/celt {};
celt_0_7 = callPackage ../development/libraries/celt/0.7.nix {};
cgal = callPackage ../development/libraries/CGAL {};
cgui = callPackage ../development/libraries/cgui {};
check = callPackage ../development/libraries/check { };
@ -4411,6 +4413,8 @@ let
opencascade = callPackage ../development/libraries/opencascade { };
opencsg = callPackage ../development/libraries/opencsg { };
openct = callPackage ../development/libraries/openct { };
opencv = callPackage ../development/libraries/opencv {