2011-08-15 19:05:10 +01:00
|
|
|
{stdenv, fetchurl, cmake}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-02-05 09:26:15 +00:00
|
|
|
name = "qhull-2012.1";
|
2009-04-08 21:06:03 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-08-15 19:05:10 +01:00
|
|
|
url = "${meta.homepage}/download/${name}-src.tgz";
|
2012-04-21 05:21:25 +01:00
|
|
|
sha256 = "127zpjp6sm8c101hz239k82lpxqcqf4ksdyfqc2py2sm22kclpm3";
|
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
|
|
|
|
2011-08-15 19:05:10 +01:00
|
|
|
cmakeFlags = "-DMAN_INSTALL_DIR=share/man/man1 -DDOC_INSTALL_DIR=share/doc/qhull";
|
2009-04-08 21:06:03 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.qhull.org/;
|
|
|
|
description = "Computes the convex hull, Delaunay triangulation, ...";
|
|
|
|
license = "free";
|
|
|
|
};
|
|
|
|
}
|