mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
commit
8ef4cd9e20
@ -1,25 +1,27 @@
|
|||||||
{ stdenv, fetchurl, cmake, boost, gmp, mpfr, mesa_glu }:
|
{ stdenv, fetchFromGitHub, cmake, boost, gmp, mpfr }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "4.7";
|
version = "4.9";
|
||||||
name = "cgal-" + version;
|
name = "cgal-" + version;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/CGAL/releases/archive/CGAL-${version}.tar.gz";
|
owner = "CGAL";
|
||||||
sha256 = "1hbp4qpfqvpggvv79yxr6z3w7y0nwd31zavb1s57y55yl9z3zfxy";
|
repo = "releases";
|
||||||
|
rev = "CGAL-${version}";
|
||||||
|
sha256 = "044amgml1x5h17rpkck2azmxrmjvlzzykv71cjh5hlajsi88cid5";
|
||||||
};
|
};
|
||||||
|
|
||||||
# note: optional component libCGAL_ImageIO would need zlib and opengl;
|
# note: optional component libCGAL_ImageIO would need zlib and opengl;
|
||||||
# there are also libCGAL_Qt{3,4} omitted ATM
|
# there are also libCGAL_Qt{3,4} omitted ATM
|
||||||
buildInputs = [ cmake boost gmp mpfr ];
|
buildInputs = [ boost gmp mpfr ];
|
||||||
#propagatedBuildInputs = [ mesa_glu ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Computational Geometry Algorithms Library";
|
description = "Computational Geometry Algorithms Library";
|
||||||
homepage = http://cgal.org;
|
homepage = http://cgal.org;
|
||||||
license = licenses.gpl3Plus; # some parts are GPLv3+, some are LGPLv3+
|
license = with licenses; [ gpl3Plus lgpl3Plus];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
maintainers = [ maintainers.raskin ];
|
maintainers = [ maintainers.raskin ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user