doxygen: qt depends on udev(!), so we cannot build the doxygen GUI on other Unix variants

svn path=/nixpkgs/trunk/; revision=28448
This commit is contained in:
Peter Simons 2011-08-09 23:35:21 +00:00
parent 0d032ba736
commit a34580133a

View File

@ -1,7 +1,10 @@
{ stdenv, fetchurl, perl, flex, bison, qt }:
stdenv.mkDerivation rec {
let
name = "doxygen-1.7.4";
in
stdenv.mkDerivation {
inherit name;
src = fetchurl {
url = "ftp://ftp.stack.nl/pub/users/dimitri/${name}.src.tar.gz";
@ -15,7 +18,7 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional (qt != null) qt;
prefixKey = "--prefix ";
configureFlags =
[ "--dot dot" ]
++ stdenv.lib.optional (qt != null) "--with-doxywizard";
@ -29,7 +32,7 @@ stdenv.mkDerivation rec {
makeFlags = "MAN1DIR=share/man/man1";
enableParallelBuilding = true;
meta = {
license = "GPLv2+";
homepage = "http://doxygen.org/";
@ -44,6 +47,6 @@ stdenv.mkDerivation rec {
'';
maintainers = [stdenv.lib.maintainers.simons];
platforms = stdenv.lib.platforms.unix;
platforms = if (qt != null) then stdenv.lib.platforms.linux else stdenv.lib.platforms.unix;
};
}