summaryrefslogtreecommitdiffstats
path: root/pkgs/development/tools/documentation
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2016-04-01 10:06:01 +0200
committerVladimír Čunát <vcunat@gmail.com>2016-04-01 10:06:01 +0200
commitab15a62c68bf7bf3b02e3bab00d121cc1426733c (patch)
tree398a82403b04bfa0bae8cadf1c5a64cf83145965 /pkgs/development/tools/documentation
parentc643ccaa8c91f78b8c89eb87589886b8906d5b38 (diff)
parenta26357eefe017964448b5bb464163646b927a267 (diff)
Merge branch 'master' into closure-size
Beware that stdenv doesn't build. It seems something more will be needed than just resolution of merge conflicts.
Diffstat (limited to 'pkgs/development/tools/documentation')
-rw-r--r--pkgs/development/tools/documentation/doxygen/default.nix40
-rw-r--r--pkgs/development/tools/documentation/doxygen/tmake.patch23
-rw-r--r--pkgs/development/tools/documentation/gtk-doc/default.nix4
3 files changed, 13 insertions, 54 deletions
diff --git a/pkgs/development/tools/documentation/doxygen/default.nix b/pkgs/development/tools/documentation/doxygen/default.nix
index 82bbab5ff87e..0b16723866bf 100644
--- a/pkgs/development/tools/documentation/doxygen/default.nix
+++ b/pkgs/development/tools/documentation/doxygen/default.nix
@@ -1,45 +1,27 @@
-{ stdenv, fetchurl, perl, python, flex, bison, qt4, CoreServices, libiconv }:
+{ stdenv, cmake, fetchurl, perl, python, flex, bison, qt4, CoreServices, libiconv }:
-let
- name = "doxygen-1.8.6";
-in
-stdenv.mkDerivation {
- inherit name;
+stdenv.mkDerivation rec {
+ name = "doxygen-1.8.11";
+
src = fetchurl {
url = "ftp://ftp.stack.nl/pub/users/dimitri/${name}.src.tar.gz";
- sha256 = "0pskjlkbj76m9ka7zi66yj8ffjcv821izv3qxqyyphf0y0jqcwba";
+ sha256 = "0ja02pm3fpfhc5dkry00kq8mn141cqvdqqpmms373ncbwi38pl35";
};
- prePatch = ''
- substituteInPlace configure --replace /usr/bin/install $(type -P install)
- '';
-
- patches = [ ./tmake.patch ];
-
+ nativeBuildInputs = [ cmake ];
+
buildInputs =
[ perl python flex bison ]
++ stdenv.lib.optional (qt4 != null) qt4
++ stdenv.lib.optional stdenv.isSunOS libiconv
++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices libiconv ];
- prefixKey = "--prefix ";
-
- configureFlags =
- [ "--dot dot" ]
- ++ stdenv.lib.optional stdenv.isSunOS "--install install"
- ++ stdenv.lib.optional (qt4 != null) "--with-doxywizard";
-
- preConfigure =
- ''
- patchShebangs .
- '' + stdenv.lib.optionalString (qt4 != null)
- ''
- echo "using QTDIR=${qt4}..."
- export QTDIR=${qt4}
- '';
+ cmakeFlags =
+ stdenv.lib.optional (qt4 != null) "-Dbuild_wizard=YES";
- makeFlags = "MAN1DIR=share/man/man1";
+ NIX_CFLAGS_COMPILE =
+ stdenv.lib.optional stdenv.isDarwin "-mmacosx-version-min=10.9";
enableParallelBuilding = true;
diff --git a/pkgs/development/tools/documentation/doxygen/tmake.patch b/pkgs/development/tools/documentation/doxygen/tmake.patch
deleted file mode 100644
index 4bba986c12c9..000000000000
--- a/pkgs/development/tools/documentation/doxygen/tmake.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Fix the `check_unix' function, which looks for `/bin/uname' to determine
-whether we're on a Unix-like system.
-
---- doxygen-1.5.8/tmake/bin/tmake 2008-12-06 14:16:20.000000000 +0100
-+++ doxygen-1.5.8/tmake/bin/tmake 2009-03-05 11:29:55.000000000 +0100
-@@ -234,17 +234,7 @@ sub tmake_verb {
- #
-
- sub check_unix {
-- my($r);
-- $r = 0;
-- if ( -f "/bin/uname" ) {
-- $r = 1;
-- (-f "\\bin\\uname") && ($r = 0);
-- }
-- if ( -f "/usr/bin/uname" ) {
-- $r = 1;
-- (-f "\\usr\\bin\\uname") && ($r = 0);
-- }
-- return $r;
-+ return 1;
- }
-
diff --git a/pkgs/development/tools/documentation/gtk-doc/default.nix b/pkgs/development/tools/documentation/gtk-doc/default.nix
index 22a0278384af..b080be846cd9 100644
--- a/pkgs/development/tools/documentation/gtk-doc/default.nix
+++ b/pkgs/development/tools/documentation/gtk-doc/default.nix
@@ -3,11 +3,11 @@
stdenv.mkDerivation rec {
name = "gtk-doc-${version}";
- version = "1.24";
+ version = "1.25";
src = fetchurl {
url = "mirror://gnome/sources/gtk-doc/${version}/${name}.tar.xz";
- sha256 = "12xmmcnq4138dlbhmqa45wqza8dky4lf856sp80h6xjwl2g7a85l";
+ sha256 = "0hpxcij9xx9ny3gs9p0iz4r8zslw8wqymbyababiyl7603a6x90y";
};
outputDocdev = "out";