nixpkgs/pkgs/development/libraries/CGAL/default.nix
Bjørn Forsman 97352b1342 cgal: update from 3.9 to 4.3 (really)
The previous version bump didn't actually do anything; it changed the
version/url but didn't change the hash. For some reason the (new) URL
returned the same old package with the same old hash (or so it seems).

This time the package is really updated, as can be seen from the version
number in $cgal/include/CGAL/version.h.

This change unbreaks openscad.
2014-01-25 10:18:58 +01:00

26 lines
598 B
Nix

{stdenv, fetchurl, cmake, boost, gmp, mpfr
}:
stdenv.mkDerivation rec {
version = "4.3";
name = "cgal-${version}";
src = fetchurl {
url = "https://gforge.inria.fr/frs/download.php/32995/CGAL-${version}.tar.xz";
sha256 = "015vw57dmy43bf63mg3916cgcsbv9dahwv24bnmiajyanj2mhiyc";
};
buildInputs = [cmake boost gmp mpfr ];
doCheck = false;
meta = {
description = "Computational Geometry Algorithms Library";
homepage = "http://cgal.org/";
platforms = with stdenv.lib.platforms;
linux;
maintainers = with stdenv.lib.maintainers;
[raskin];
};
}