Author: simons
Date: Tue Aug 9 23:35:21 2011
New Revision: 28448
URL: https://svn.nixos.org/websvn/nix/?rev=28448&sc=1
Log:
doxygen: qt depends on udev(!), so we cannot build the doxygen GUI on other
Unix variants
Modified:
nixpkgs/trunk/pkgs/development/tools/documentation/doxygen/default.nix
Modified: nixpkgs/trunk/pkgs/development/tools/documentation/doxygen/default.nix
==============================================================================
--- nixpkgs/trunk/pkgs/development/tools/documentation/doxygen/default.nix
Tue Aug 9 23:20:28 2011 (r28447)
+++ nixpkgs/trunk/pkgs/development/tools/documentation/doxygen/default.nix
Tue Aug 9 23:35:21 2011 (r28448)
@@ -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.lib.optional (qt != null) qt;
prefixKey = "--prefix ";
-
+
configureFlags =
[ "--dot dot" ]
++ stdenv.lib.optional (qt != null) "--with-doxywizard";
@@ -29,7 +32,7 @@
makeFlags = "MAN1DIR=share/man/man1";
enableParallelBuilding = true;
-
+
meta = {
license = "GPLv2+";
homepage = "http://doxygen.org/";
@@ -44,6 +47,6 @@
'';
maintainers = [stdenv.lib.maintainers.simons];
- platforms = stdenv.lib.platforms.unix;
+ platforms = if (qt != null) then stdenv.lib.platforms.linux else
stdenv.lib.platforms.unix;
};
}
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits