94c6dbbaaa
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/cgal/versions. These checks were done: - built on NixOS - ran ‘/nix/store/7py5j9ixfljnic4dr3ij97msnj0wahv6-cgal-4.12/bin/cgal_create_CMakeLists -h’ got 0 exit code - ran ‘/nix/store/7py5j9ixfljnic4dr3ij97msnj0wahv6-cgal-4.12/bin/cgal_create_CMakeLists help’ got 0 exit code - ran ‘/nix/store/7py5j9ixfljnic4dr3ij97msnj0wahv6-cgal-4.12/bin/cgal_create_cmake_script -h’ got 0 exit code - ran ‘/nix/store/7py5j9ixfljnic4dr3ij97msnj0wahv6-cgal-4.12/bin/cgal_create_cmake_script --help’ got 0 exit code - found 4.12 with grep in /nix/store/7py5j9ixfljnic4dr3ij97msnj0wahv6-cgal-4.12 - directory tree listing: https://gist.github.com/35067880611978f76a8e3f3adac7f12a
28 lines
770 B
Nix
28 lines
770 B
Nix
{ stdenv, fetchFromGitHub, cmake, boost, gmp, mpfr }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "4.12";
|
|
name = "cgal-" + version;
|
|
|
|
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
|
|
buildInputs = [ boost gmp mpfr ];
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Computational Geometry Algorithms Library";
|
|
homepage = http://cgal.org;
|
|
license = with licenses; [ gpl3Plus lgpl3Plus];
|
|
platforms = platforms.all;
|
|
maintainers = [ maintainers.raskin ];
|
|
};
|
|
}
|