From 574a1aa63693db9f094ab85cd8e2e7a5c6587acd Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 23 Oct 2008 14:23:12 +0000 Subject: [PATCH] Added build expression for doxygen 1.5.7.1. svn path=/nixpkgs/trunk/; revision=13106 --- .../tools/documentation/doxygen/default.nix | 15 +++++++++++++++ pkgs/top-level/all-packages.nix | 6 ++++++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/development/tools/documentation/doxygen/default.nix 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;