1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/CGAL/default.nix

27 lines
807 B
Nix
Raw Normal View History

2016-04-17 00:44:48 +01:00
{ stdenv, fetchurl, cmake, boost, gmp, mpfr, mesa_glu }:
stdenv.mkDerivation rec {
version = "4.7";
name = "cgal-" + version;
2014-01-24 22:21:54 +00:00
src = fetchurl {
url = "https://github.com/CGAL/releases/archive/CGAL-${version}.tar.gz";
sha256 = "1hbp4qpfqvpggvv79yxr6z3w7y0nwd31zavb1s57y55yl9z3zfxy";
};
# note: optional component libCGAL_ImageIO would need zlib and opengl;
# there are also libCGAL_Qt{3,4} omitted ATM
2014-10-01 20:55:40 +01:00
buildInputs = [ cmake boost gmp mpfr ];
2016-04-17 00:44:48 +01:00
#propagatedBuildInputs = [ mesa_glu ];
doCheck = false;
2014-01-24 22:21:54 +00:00
meta = with stdenv.lib; {
description = "Computational Geometry Algorithms Library";
homepage = http://cgal.org;
2014-01-24 22:21:54 +00:00
license = licenses.gpl3Plus; # some parts are GPLv3+, some are LGPLv3+
platforms = platforms.all;
2014-01-24 22:21:54 +00:00
maintainers = [ maintainers.raskin ];
};
}