diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2012-01-26 18:28:53 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2012-01-26 18:28:53 +0000 |
commit | 53bcb2094f21ae8afbf79e6741d3d4500ef14fe9 (patch) | |
tree | 312e7077ca2306d19c451042875f03f950d77e2c /pkgs/development/libraries/CGAL | |
parent | 9f2be8d6b113de165f6d5de9fcfa239224b5d3f9 (diff) |
Adding CGAL: Computational Geometry Algorithms Library
svn path=/nixpkgs/trunk/; revision=31868
Diffstat (limited to 'pkgs/development/libraries/CGAL')
-rw-r--r-- | pkgs/development/libraries/CGAL/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/libraries/CGAL/default.nix b/pkgs/development/libraries/CGAL/default.nix new file mode 100644 index 0000000000000..49cf0a6b94bdc --- /dev/null +++ b/pkgs/development/libraries/CGAL/default.nix @@ -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]; + }; +} + |