mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
850492a0db
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: - built on NixOS - ran `/nix/store/prp059sdh2cfi1n6m1y43w7hf33ixs7x-cgal-4.11.1/bin/cgal_create_CMakeLists -h` got 0 exit code - ran `/nix/store/prp059sdh2cfi1n6m1y43w7hf33ixs7x-cgal-4.11.1/bin/cgal_create_CMakeLists help` got 0 exit code - ran `/nix/store/prp059sdh2cfi1n6m1y43w7hf33ixs7x-cgal-4.11.1/bin/cgal_create_cmake_script -h` got 0 exit code - ran `/nix/store/prp059sdh2cfi1n6m1y43w7hf33ixs7x-cgal-4.11.1/bin/cgal_create_cmake_script --help` got 0 exit code - found 4.11.1 with grep in /nix/store/prp059sdh2cfi1n6m1y43w7hf33ixs7x-cgal-4.11.1
29 lines
772 B
Nix
29 lines
772 B
Nix
{ stdenv, fetchFromGitHub, cmake, boost, gmp, mpfr }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "4.11.1";
|
|
name = "cgal-" + version;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "CGAL";
|
|
repo = "releases";
|
|
rev = "CGAL-${version}";
|
|
sha256 = "04nn1lzsjdglzjygc72cq09xrvpqwwnbf6l0xz8bfwfp4x9g10jf";
|
|
};
|
|
|
|
# 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 ];
|
|
};
|
|
}
|