3
0
Fork 0
forked from mirrors/nixpkgs

darwin purity: doxygen

This commit is contained in:
Jude Taylor 2015-09-28 18:32:41 -07:00
parent f4f3df5f5d
commit 135b32f2a0
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

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