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

25 lines
646 B
Nix
Raw Normal View History

2014-01-24 22:21:54 +00:00
{ stdenv, fetchurl, cmake, boost, gmp, mpfr }:
stdenv.mkDerivation rec {
2014-11-02 22:08:15 +00:00
version = "4.5";
2014-01-24 22:21:54 +00:00
name = "cgal-${version}";
2014-01-24 22:21:54 +00:00
src = fetchurl {
2014-11-02 22:08:15 +00:00
url = "https://gforge.inria.fr/frs/download.php/34139/CGAL-${version}.tar.xz";
sha256 = "00shds5yph4s09lqdrb6n60wnw9kpiwa25ghg9mbsgq3fnr8p7kr";
};
2014-10-01 20:55:40 +01:00
buildInputs = [ cmake boost gmp mpfr ];
doCheck = false;
2014-01-24 22:21:54 +00:00
meta = with stdenv.lib; {
description = "Computational Geometry Algorithms Library";
homepage = "http://cgal.org/";
2014-01-24 22:21:54 +00:00
license = licenses.gpl3Plus; # some parts are GPLv3+, some are LGPLv3+
platforms = platforms.linux;
maintainers = [ maintainers.raskin ];
};
}