From f9fdcb4cf7274dc975d74f51b61968ac42dfa3d5 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Tue, 22 Oct 2019 11:26:12 +0200 Subject: [PATCH] gtk3: add devdoc --- pkgs/development/libraries/gtk/3.x.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/gtk/3.x.nix b/pkgs/development/libraries/gtk/3.x.nix index 3f599a7846fc..ab8602af2748 100644 --- a/pkgs/development/libraries/gtk/3.x.nix +++ b/pkgs/development/libraries/gtk/3.x.nix @@ -3,6 +3,9 @@ , fetchpatch , pkgconfig , gettext +, docbook_xsl +, docbook_xml_dtd_43 +, gtk-doc , meson , ninja , python3 @@ -47,7 +50,7 @@ stdenv.mkDerivation rec { pname = "gtk+3"; version = "3.24.11"; - outputs = [ "out" "dev" ]; + outputs = [ "out" "dev" "devdoc" ]; outputBin = "dev"; setupHook = ./gtk3-setup-hook.sh; @@ -74,6 +77,7 @@ stdenv.mkDerivation rec { ]; mesonFlags = [ + "-Dgtk_doc=true" "-Dtests=false" ]; @@ -101,7 +105,10 @@ stdenv.mkDerivation rec { ''; nativeBuildInputs = [ + docbook_xml_dtd_43 + docbook_xsl gettext + gtk-doc gobject-introspection hicolor-icon-theme # setup-hook makeWrapper