cgal: 4.6.1 -> 4.7
Also enable darwin support
This commit is contained in:
parent
39a996731e
commit
48cd7177b2
@ -1,13 +1,12 @@
|
|||||||
{ stdenv, fetchurl, cmake, boost, gmp, mpfr }:
|
{ stdenv, fetchurl, cmake, boost, gmp, mpfr }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "4.6.1";
|
version = "4.7";
|
||||||
|
name = "cgal-" + version;
|
||||||
name = "cgal-${version}";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/CGAL/releases/archive/CGAL-${version}.tar.gz";
|
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;
|
# note: optional component libCGAL_ImageIO would need zlib and opengl;
|
||||||
@ -18,9 +17,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Computational Geometry Algorithms Library";
|
description = "Computational Geometry Algorithms Library";
|
||||||
homepage = "http://cgal.org/";
|
homepage = http://cgal.org;
|
||||||
license = licenses.gpl3Plus; # some parts are GPLv3+, some are LGPLv3+
|
license = licenses.gpl3Plus; # some parts are GPLv3+, some are LGPLv3+
|
||||||
platforms = platforms.linux;
|
platforms = platforms.all;
|
||||||
maintainers = [ maintainers.raskin ];
|
maintainers = [ maintainers.raskin ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user