diff --git a/pkgs/development/libraries/CGAL/default.nix b/pkgs/development/libraries/CGAL/default.nix index 77c486350b84..12273f845668 100644 --- a/pkgs/development/libraries/CGAL/default.nix +++ b/pkgs/development/libraries/CGAL/default.nix @@ -1,25 +1,24 @@ -{stdenv, fetchurl, cmake, boost, gmp, mpfr - }: +{ 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 ]; + buildInputs = [ cmake boost gmp mpfr ]; doCheck = false; - meta = { + meta = with stdenv.lib; { description = "Computational Geometry Algorithms Library"; homepage = "http://cgal.org/"; - platforms = with stdenv.lib.platforms; - linux; - maintainers = with stdenv.lib.maintainers; - [raskin]; + license = licenses.gpl3Plus; # some parts are GPLv3+, some are LGPLv3+ + platforms = platforms.linux; + maintainers = [ maintainers.raskin ]; }; } -