1 { lib, stdenv, fetchFromGitHub, cmake, fixDarwinDylibNames }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-djUO3qzY8ch29AuhY3Bn1ajxWZ4/W70icWVrxWRAxRc=";
14 nativeBuildInputs = [ cmake ]
15 ++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
18 homepage = "http://www.qhull.org/";
19 description = "Compute the convex hull, Delaunay triangulation, Voronoi diagram and more";
20 license = licenses.qhull;
21 platforms = platforms.unix;
22 maintainers = with maintainers; [ orivej ];