mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 21:33:07 +00:00
0842337d80
svn path=/nixpkgs/trunk/; revision=33869
21 lines
502 B
Nix
21 lines
502 B
Nix
{stdenv, fetchurl, cmake}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "qhull-2012.1";
|
|
|
|
src = fetchurl {
|
|
url = "${meta.homepage}/download/${name}-src.tgz";
|
|
sha256 = "127zpjp6sm8c101hz239k82lpxqcqf4ksdyfqc2py2sm22kclpm3";
|
|
};
|
|
|
|
buildNativeInputs = [ cmake ];
|
|
|
|
cmakeFlags = "-DMAN_INSTALL_DIR=share/man/man1 -DDOC_INSTALL_DIR=share/doc/qhull";
|
|
|
|
meta = {
|
|
homepage = http://www.qhull.org/;
|
|
description = "Computes the convex hull, Delaunay triangulation, ...";
|
|
license = "free";
|
|
};
|
|
}
|