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

29 lines
770 B
Nix
Raw Normal View History

2017-03-11 06:49:31 +00:00
{ stdenv, fetchFromGitHub, cmake, boost, gmp, mpfr }:
stdenv.mkDerivation rec {
version = "4.12";
name = "cgal-" + version;
2014-01-24 22:21:54 +00:00
2017-03-10 23:16:01 +00:00
src = fetchFromGitHub {
owner = "CGAL";
repo = "releases";
rev = "CGAL-${version}";
sha256 = "0n4yvg2rkrlb1bwhykrg4iyqg4whxadcs441k10xx0r75i6220mn";
};
# note: optional component libCGAL_ImageIO would need zlib and opengl;
# there are also libCGAL_Qt{3,4} omitted ATM
2017-03-10 23:16:01 +00:00
buildInputs = [ boost gmp mpfr ];
nativeBuildInputs = [ cmake ];
doCheck = false;
2014-01-24 22:21:54 +00:00
meta = with stdenv.lib; {
description = "Computational Geometry Algorithms Library";
homepage = http://cgal.org;
2017-03-11 06:49:31 +00:00
license = with licenses; [ gpl3Plus lgpl3Plus];
platforms = platforms.all;
2014-01-24 22:21:54 +00:00
maintainers = [ maintainers.raskin ];
};
}