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