mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
c56adc9e01
I'm sorry for the wrong combination of URL and hash. These release tarballs are much smaller; I don't know the difference, but they still seem to work (openscad, rpacad). Also comment on modules that aren't built.
27 lines
764 B
Nix
27 lines
764 B
Nix
{ stdenv, fetchurl, cmake, boost, gmp, mpfr }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "4.6.1";
|
|
|
|
name = "cgal-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/CGAL/releases/archive/CGAL-${version}.tar.gz";
|
|
sha256 = "05vk4l62d7g6cz19q36h1an5krxdbgq1fbs5hi0x2l7blsja1z6g";
|
|
};
|
|
|
|
# note: optional component libCGAL_ImageIO would need zlib and opengl;
|
|
# there are also libCGAL_Qt{3,4} omitted ATM
|
|
buildInputs = [ cmake boost gmp mpfr ];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Computational Geometry Algorithms Library";
|
|
homepage = "http://cgal.org/";
|
|
license = licenses.gpl3Plus; # some parts are GPLv3+, some are LGPLv3+
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.raskin ];
|
|
};
|
|
}
|