nixpkgs-suyu/pkgs/development/libraries/CGAL/default.nix

29 lines
773 B
Nix
Raw Normal View History

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