librest: build developer docs

This commit is contained in:
Jan Tojnar 2022-02-20 19:58:50 +01:00
parent 3d1a53e4a4
commit 0c68f9b952

View file

@ -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"
];