Merge pull request #124836 from lopsided98/pcl-convex-hull

pcl: fix convex hull support
This commit is contained in:
Sandro
2021-06-01 15:23:20 +02:00
committed by GitHub
@@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, wrapQtAppsHook
, cmake
, qhull
@@ -30,6 +31,15 @@ stdenv.mkDerivation rec {
sha256 = "1cli2rxqsk6nxp36p5mgvvahjz8hm4fb68yi8cf9nw4ygbcvcwb1";
};
patches = [
# Support newer QHull versions (2020.2)
# Backport of https://github.com/PointCloudLibrary/pcl/pull/4540
(fetchpatch {
url = "https://raw.githubusercontent.com/conda-forge/pcl-feedstock/0b1eff402994a3fb891b44659c261e7e85c8d915/recipe/4540.patch";
sha256 = "0hhvw6ajigzrarn95aicni73zd3sdgnb8rc3wgjrrg19xs84z138";
})
];
nativeBuildInputs = [ pkg-config cmake wrapQtAppsHook ];
buildInputs = [
qhull