nixpkgs/pkgs/development/libraries/CGAL/default.nix
Michael Raskin 53bcb2094f Adding CGAL: Computational Geometry Algorithms Library
svn path=/nixpkgs/trunk/; revision=31868
2012-01-26 18:28:53 +00:00

26 lines
598 B
Nix

{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];
};
}