1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00

cgal: 4.6.1 -> 4.7

Also enable darwin support
This commit is contained in:
Stéphane Jourdois 2015-11-11 13:09:26 +01:00
parent 39a996731e
commit 48cd7177b2

View file

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