darwin purity: doxygen

This commit is contained in:
Jude Taylor 2015-09-28 18:32:41 -07:00
parent 0b1fd74a8d
commit 48a791d270
2 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, perl, python, flex, bison, qt4 }:
{ stdenv, fetchurl, perl, python, flex, bison, qt4, CoreServices, libiconv }:
let
name = "doxygen-1.8.6";
@ -11,11 +11,16 @@ stdenv.mkDerivation {
sha256 = "0pskjlkbj76m9ka7zi66yj8ffjcv821izv3qxqyyphf0y0jqcwba";
};
prePatch = ''
substituteInPlace configure --replace /usr/bin/install $(type -P install)
'';
patches = [ ./tmake.patch ];
buildInputs =
[ perl python flex bison ]
++ stdenv.lib.optional (qt4 != null) qt4;
++ stdenv.lib.optional (qt4 != null) qt4
++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices libiconv ];
prefixKey = "--prefix ";

View File

@ -5457,6 +5457,7 @@ let
doxygen = callPackage ../development/tools/documentation/doxygen {
qt4 = null;
inherit (darwin.apple_sdk.frameworks) CoreServices;
};
doxygen_gui = lowPrio (doxygen.override { inherit qt4; });