2021-05-27 01:54:05 -07:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, fixDarwinDylibNames }:
|
2011-08-15 11:05:10 -07:00
|
|
|
|
2021-04-24 06:50:11 -07:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "qhull";
|
|
|
|
version = "2020.2";
|
2009-04-08 13:06:03 -07:00
|
|
|
|
2018-08-08 19:26:02 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "qhull";
|
|
|
|
repo = "qhull";
|
2021-04-24 06:50:11 -07:00
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-djUO3qzY8ch29AuhY3Bn1ajxWZ4/W70icWVrxWRAxRc=";
|
2009-04-08 13:06:03 -07:00
|
|
|
};
|
|
|
|
|
2021-05-27 01:54:05 -07:00
|
|
|
nativeBuildInputs = [ cmake ]
|
|
|
|
++ lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
2009-04-08 13:06:03 -07:00
|
|
|
|
2021-01-21 09:00:13 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://www.qhull.org/";
|
2018-08-08 19:26:02 -07:00
|
|
|
description = "Compute the convex hull, Delaunay triangulation, Voronoi diagram and more";
|
2019-09-22 13:21:27 -07:00
|
|
|
license = licenses.qhull;
|
2018-08-08 19:26:02 -07:00
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ orivej ];
|
2009-04-08 13:06:03 -07:00
|
|
|
};
|
|
|
|
}
|