qhull: add fixDarwinDylibNames

(cherry picked from commit e34b55910991a52b432f97cddfb2e8a2b4b13f97)
cc #124578
This commit is contained in:
Dmitry Kalinkin
2021-05-27 04:54:05 -04:00
parent 6029acc019
commit 46a5d32fc9

View File

@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake }:
{ lib, stdenv, fetchFromGitHub, cmake, fixDarwinDylibNames }:
stdenv.mkDerivation rec {
pname = "qhull";
@@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "sha256-djUO3qzY8ch29AuhY3Bn1ajxWZ4/W70icWVrxWRAxRc=";
};
nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ cmake ]
++ lib.optional stdenv.isDarwin fixDarwinDylibNames;
meta = with lib; {
homepage = "http://www.qhull.org/";