mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-08 22:14:34 +00:00
eb03685546
Semi-automatic update. These checks were done: - built on NixOS - ran `/nix/store/6i54qzjbf3645yavr53qbvm12ddr9y7b-gtk-doc-1.27/bin/gtkdoc-depscan -h` got 0 exit code - ran `/nix/store/6i54qzjbf3645yavr53qbvm12ddr9y7b-gtk-doc-1.27/bin/gtkdoc-depscan --help` got 0 exit code - ran `/nix/store/6i54qzjbf3645yavr53qbvm12ddr9y7b-gtk-doc-1.27/bin/gtkdoc-depscan --version` and found version 1.27 - ran `/nix/store/6i54qzjbf3645yavr53qbvm12ddr9y7b-gtk-doc-1.27/bin/gtkdocize --help` got 0 exit code - ran `/nix/store/6i54qzjbf3645yavr53qbvm12ddr9y7b-gtk-doc-1.27/bin/gtkdocize --version` and found version 1.27 - found 1.27 with grep in /nix/store/6i54qzjbf3645yavr53qbvm12ddr9y7b-gtk-doc-1.27 - found 1.27 in filename of file in /nix/store/6i54qzjbf3645yavr53qbvm12ddr9y7b-gtk-doc-1.27
39 lines
1.2 KiB
Nix
39 lines
1.2 KiB
Nix
{ stdenv, fetchurl, autoreconfHook, pkgconfig, perl, python, libxml2Python, libxslt, which
|
|
, docbook_xml_dtd_43, docbook_xsl, gnome-doc-utils, dblatex, gettext, itstool }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "gtk-doc-${version}";
|
|
version = "1.27";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/gtk-doc/${version}/${name}.tar.xz";
|
|
sha256 = "0vwsdl61nvnmqswlz5j9m4hg7qirhazwcikcnqf9nx0c13vx6sz2";
|
|
};
|
|
|
|
patches = [
|
|
passthru.respect_xml_catalog_files_var_patch
|
|
];
|
|
|
|
outputDevdoc = "out";
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
buildInputs =
|
|
[ pkgconfig perl python libxml2Python libxslt docbook_xml_dtd_43 docbook_xsl
|
|
gnome-doc-utils dblatex gettext which itstool
|
|
];
|
|
|
|
configureFlags = "--disable-scrollkeeper";
|
|
|
|
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;
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://www.gtk.org/gtk-doc;
|
|
description = "Tools to extract documentation embedded in GTK+ and GNOME source code";
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ pSub ];
|
|
};
|
|
}
|