qhull: add fixDarwinDylibNames

This commit is contained in:
Dmitry Kalinkin 2021-05-27 04:54:05 -04:00
parent 5658fadedb
commit e34b559109
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333

View File

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