nixpkgs/pkgs/development/libraries/qhull/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
654 B
Nix
Raw Normal View History

2021-05-27 08:54:05 +00:00
{ lib, stdenv, fetchFromGitHub, cmake, fixDarwinDylibNames }:
stdenv.mkDerivation rec {
pname = "qhull";
version = "2020.2";
2018-08-09 02:26:02 +00:00
src = fetchFromGitHub {
owner = "qhull";
repo = "qhull";
rev = version;
sha256 = "sha256-djUO3qzY8ch29AuhY3Bn1ajxWZ4/W70icWVrxWRAxRc=";
};
2021-05-27 08:54:05 +00:00
nativeBuildInputs = [ cmake ]
++ lib.optional stdenv.isDarwin fixDarwinDylibNames;
meta = with lib; {
homepage = "http://www.qhull.org/";
2018-08-09 02:26:02 +00:00
description = "Compute the convex hull, Delaunay triangulation, Voronoi diagram and more";
2019-09-22 20:21:27 +00:00
license = licenses.qhull;
2018-08-09 02:26:02 +00:00
platforms = platforms.unix;
maintainers = with maintainers; [ orivej ];
};
}