diff --git a/pkgs/development/tools/documentation/doxygen/default.nix b/pkgs/development/tools/documentation/doxygen/default.nix new file mode 100644 index 000000000000..e5a91ec6b01b --- /dev/null +++ b/pkgs/development/tools/documentation/doxygen/default.nix @@ -0,0 +1,15 @@ +{stdenv, fetchurl, graphviz, perl, flex, bison, gnumake, libX11, libXext, qt}: + +stdenv.mkDerivation rec { + name = "doxygen-1.5.7.1"; + src = fetchurl { + url = "ftp://ftp.stack.nl/pub/users/dimitri/${name}.src.tar.gz"; + sha256 = "0abds9d2ff4476105myl4933q6l4vqyyyajx6qial88iffbczsbw"; + }; + buildInputs = [graphviz perl flex bison libX11 libXext qt]; + prefixKey = "--prefix "; + configureFlags = "--release" + + " --make ${gnumake}/bin/make" + + (if qt == null then "" else " --with-doxywizard") + ; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fd6e5db5ebdd..5d48a0a7319c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2227,6 +2227,12 @@ let inherit (xlibs) libX11 libXt; }; + doxygen = import ../development/tools/documentation/doxygen { + inherit fetchurl stdenv graphviz perl flex bison gnumake; + inherit (xlibs) libX11 libXext; + qt = if getPkgConfig "doxygen" "qt3" true then qt3 else null; + }; + elfutils = composedArgsAndFun (selectVersion ../development/tools/misc/elfutils "0.131") { inherit fetchurl stdenv;