mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
darwin purity: doxygen
This commit is contained in:
parent
0b1fd74a8d
commit
48a791d270
@ -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 ";
|
||||
|
||||
|
@ -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; });
|
||||
|
Loading…
Reference in New Issue
Block a user