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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
808 B
Nix
Raw Normal View History

{ lib, stdenv
2023-10-19 08:01:36 +03:00
, fetchurl
, cmake
, boost
, gmp
, mpfr
}:
stdenv.mkDerivation rec {
pname = "cgal";
2024-03-01 07:30:43 +03:00
version = "5.6.1";
2014-01-25 02:21:54 +04:00
2023-10-19 08:01:36 +03:00
src = fetchurl {
url = "https://github.com/CGAL/cgal/releases/download/v${version}/CGAL-${version}.tar.xz";
2024-03-01 07:30:43 +03:00
hash = "sha256-zbFefuMeBmNYnTEHp5mIo3t7FxnfPSTyBYVF0bzdWDc=";
};
# note: optional component libCGAL_ImageIO would need zlib and opengl;
# there are also libCGAL_Qt{3,4} omitted ATM
2017-03-11 02:16:01 +03:00
buildInputs = [ boost gmp mpfr ];
nativeBuildInputs = [ cmake ];
patches = [ ./cgal_path.patch ];
doCheck = false;
meta = with lib; {
description = "Computational Geometry Algorithms Library";
2020-02-23 11:16:52 +03:00
homepage = "http://cgal.org";
2017-03-11 09:49:31 +03:00
license = with licenses; [ gpl3Plus lgpl3Plus];
platforms = platforms.all;
2014-01-25 02:21:54 +04:00
maintainers = [ maintainers.raskin ];
};
}