about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/qhull
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/qhull')
-rw-r--r--nixpkgs/pkgs/development/libraries/qhull/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/qhull/default.nix b/nixpkgs/pkgs/development/libraries/qhull/default.nix
new file mode 100644
index 000000000000..0a6f39e672cd
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/qhull/default.nix
@@ -0,0 +1,23 @@
+{ lib, stdenv, fetchFromGitHub, cmake }:
+
+stdenv.mkDerivation rec {
+  pname = "qhull";
+  version = "2020.2";
+
+  src = fetchFromGitHub {
+    owner = "qhull";
+    repo = "qhull";
+    rev = version;
+    sha256 = "sha256-djUO3qzY8ch29AuhY3Bn1ajxWZ4/W70icWVrxWRAxRc=";
+  };
+
+  nativeBuildInputs = [ cmake ];
+
+  meta = with lib; {
+    homepage = "http://www.qhull.org/";
+    description = "Compute the convex hull, Delaunay triangulation, Voronoi diagram and more";
+    license = licenses.qhull;
+    platforms = platforms.unix;
+    maintainers = with maintainers; [ orivej ];
+  };
+}