From 0c68f9b952c73d9306fc10e506885d59fc4d68f4 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sun, 20 Feb 2022 19:58:50 +0100 Subject: [PATCH] librest: build developer docs --- pkgs/development/libraries/librest/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/librest/default.nix b/pkgs/development/libraries/librest/default.nix index 292558e45947..ce2df9cc9a8a 100644 --- a/pkgs/development/libraries/librest/default.nix +++ b/pkgs/development/libraries/librest/default.nix @@ -6,6 +6,9 @@ , libsoup , libxml2 , gobject-introspection +, gtk-doc +, docbook-xsl-nons +, docbook_xml_dtd_412 , gnome }: @@ -13,7 +16,7 @@ stdenv.mkDerivation rec { pname = "rest"; version = "0.8.1"; - outputs = [ "out" "dev" ]; + outputs = [ "out" "dev" "devdoc" ]; src = fetchurl { url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; @@ -23,6 +26,9 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkg-config gobject-introspection + gtk-doc + docbook-xsl-nons + docbook_xml_dtd_412 ]; propagatedBuildInputs = [ @@ -32,6 +38,7 @@ stdenv.mkDerivation rec { ]; configureFlags = [ + "--enable-gtk-doc" # Remove when https://gitlab.gnome.org/GNOME/librest/merge_requests/2 is merged. "--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt" ];