From 48cd7177b2fb95b234ee84ddb52620608f1adf50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Jourdois?= Date: Wed, 11 Nov 2015 13:09:26 +0100 Subject: [PATCH] cgal: 4.6.1 -> 4.7 Also enable darwin support --- pkgs/development/libraries/CGAL/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/development/libraries/CGAL/default.nix b/pkgs/development/libraries/CGAL/default.nix index a903d5e46782..1f964388cbda 100644 --- a/pkgs/development/libraries/CGAL/default.nix +++ b/pkgs/development/libraries/CGAL/default.nix @@ -1,13 +1,12 @@ { stdenv, fetchurl, cmake, boost, gmp, mpfr }: stdenv.mkDerivation rec { - version = "4.6.1"; - - name = "cgal-${version}"; + version = "4.7"; + name = "cgal-" + version; src = fetchurl { url = "https://github.com/CGAL/releases/archive/CGAL-${version}.tar.gz"; - sha256 = "05vk4l62d7g6cz19q36h1an5krxdbgq1fbs5hi0x2l7blsja1z6g"; + sha256 = "1hbp4qpfqvpggvv79yxr6z3w7y0nwd31zavb1s57y55yl9z3zfxy"; }; # note: optional component libCGAL_ImageIO would need zlib and opengl; @@ -18,9 +17,9 @@ stdenv.mkDerivation rec { meta = with stdenv.lib; { description = "Computational Geometry Algorithms Library"; - homepage = "http://cgal.org/"; + homepage = http://cgal.org; license = licenses.gpl3Plus; # some parts are GPLv3+, some are LGPLv3+ - platforms = platforms.linux; + platforms = platforms.all; maintainers = [ maintainers.raskin ]; }; }