diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-01-24 23:21:54 +0100 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-01-25 10:19:04 +0100 |
commit | c72ce740bc1ed4887a9ef5f1f31caeac50d2f8e9 (patch) | |
tree | d79e307c0e556efa687108d80ccbab6fac8ef7d6 /pkgs/development/libraries/CGAL | |
parent | 97352b1342acb10c525ddb8ca9e5aa15ec21b372 (diff) |
cgal: expression cleanup
Diffstat (limited to 'pkgs/development/libraries/CGAL')
-rw-r--r-- | pkgs/development/libraries/CGAL/default.nix | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/pkgs/development/libraries/CGAL/default.nix b/pkgs/development/libraries/CGAL/default.nix index 77c486350b84d..12273f845668f 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 ]; }; } - |