2017-10-07 00:07:40 +02:00
|
|
|
{ stdenv, fetchurl, autoreconfHook, pkgconfig, perl, python, libxml2Python, libxslt, which
|
2018-02-25 03:23:58 +01:00
|
|
|
, docbook_xml_dtd_43, docbook_xsl, gnome-doc-utils, dblatex, gettext, itstool }:
|
2009-09-30 07:27:34 +02:00
|
|
|
|
2014-10-05 22:50:22 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gtk-doc-${version}";
|
2018-03-09 01:51:28 +01:00
|
|
|
version = "1.27";
|
2012-03-19 05:36:41 +01:00
|
|
|
|
2009-09-30 07:27:34 +02:00
|
|
|
src = fetchurl {
|
2014-10-05 22:50:22 +02:00
|
|
|
url = "mirror://gnome/sources/gtk-doc/${version}/${name}.tar.xz";
|
2018-03-09 01:51:28 +01:00
|
|
|
sha256 = "0vwsdl61nvnmqswlz5j9m4hg7qirhazwcikcnqf9nx0c13vx6sz2";
|
2009-09-30 07:27:34 +02:00
|
|
|
};
|
2010-05-27 15:08:21 +02:00
|
|
|
|
2017-10-07 00:07:40 +02:00
|
|
|
patches = [
|
2017-12-02 04:10:47 +01:00
|
|
|
passthru.respect_xml_catalog_files_var_patch
|
2017-10-07 00:07:40 +02:00
|
|
|
];
|
2009-09-30 07:27:34 +02:00
|
|
|
|
2017-10-07 00:07:40 +02:00
|
|
|
outputDevdoc = "out";
|
2009-09-30 07:27:34 +02:00
|
|
|
|
2017-10-07 00:07:40 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2010-05-27 15:08:21 +02:00
|
|
|
buildInputs =
|
2018-03-10 13:01:01 +01:00
|
|
|
[ pkgconfig perl python libxml2Python libxslt docbook_xml_dtd_43 docbook_xsl
|
2018-02-25 03:23:58 +01:00
|
|
|
gnome-doc-utils dblatex gettext which itstool
|
2010-05-27 15:08:21 +02:00
|
|
|
];
|
2014-10-05 22:50:22 +02:00
|
|
|
|
2017-10-07 00:07:40 +02:00
|
|
|
configureFlags = "--disable-scrollkeeper";
|
|
|
|
|
2017-12-02 04:10:47 +01:00
|
|
|
passthru = {
|
|
|
|
# Consumers are expected to copy the m4 files to their source tree, let them reuse the patch
|
|
|
|
respect_xml_catalog_files_var_patch = ./respect-xml-catalog-files-var.patch;
|
|
|
|
};
|
|
|
|
|
2014-10-05 22:50:22 +02:00
|
|
|
meta = with stdenv.lib; {
|
2017-08-02 23:50:51 +02:00
|
|
|
homepage = https://www.gtk.org/gtk-doc;
|
2014-10-05 22:50:22 +02:00
|
|
|
description = "Tools to extract documentation embedded in GTK+ and GNOME source code";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
};
|
2009-09-30 07:27:34 +02:00
|
|
|
}
|