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

25 lines
651 B
Nix
Raw Normal View History

2014-01-24 23:21:54 +01:00
{ stdenv, fetchurl, cmake, boost, gmp, mpfr }:
stdenv.mkDerivation rec {
version = "4.6.1";
2014-01-24 23:21:54 +01:00
name = "cgal-${version}";
2014-01-24 23:21:54 +01:00
src = fetchurl {
url = "https://github.com/CGAL/releases/archive/releases/CGAL-${version}.tar.gz";
sha256 = "09ph5qi7ixbkk3jssq3pdjf2nyw91s73dizi2mkx6brhrzd1zd5y";
};
2014-10-01 21:55:40 +02:00
buildInputs = [ cmake boost gmp mpfr ];
doCheck = false;
2014-01-24 23:21:54 +01:00
meta = with stdenv.lib; {
description = "Computational Geometry Algorithms Library";
homepage = "http://cgal.org/";
2014-01-24 23:21:54 +01:00
license = licenses.gpl3Plus; # some parts are GPLv3+, some are LGPLv3+
platforms = platforms.linux;
maintainers = [ maintainers.raskin ];
};
}