2011-08-15 20:05:10 +02:00
|
|
|
{stdenv, fetchurl, cmake}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-02-05 10:26:15 +01:00
|
|
|
name = "qhull-2012.1";
|
2009-04-08 22:06:03 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-08-15 20:05:10 +02:00
|
|
|
url = "${meta.homepage}/download/${name}-src.tgz";
|
2012-02-05 10:26:15 +01:00
|
|
|
sha256 = "19hb10vs7ww45ifn7mpvxykn470gd1g568d84mlld6v4pnz7gamv";
|
2009-04-08 22:06:03 +02:00
|
|
|
};
|
|
|
|
|
2011-08-15 20:05:10 +02:00
|
|
|
buildNativeInputs = [ cmake ];
|
2009-04-08 22:06:03 +02:00
|
|
|
|
2011-08-15 20:05:10 +02:00
|
|
|
cmakeFlags = "-DMAN_INSTALL_DIR=share/man/man1 -DDOC_INSTALL_DIR=share/doc/qhull";
|
2009-04-08 22:06:03 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.qhull.org/;
|
|
|
|
description = "Computes the convex hull, Delaunay triangulation, ...";
|
|
|
|
license = "free";
|
|
|
|
};
|
|
|
|
}
|