playerctl: enable gtk-doc generation

This commit is contained in:
worldofpeace 2018-12-18 15:01:49 -05:00
parent 00f5700057
commit 59f8d67ec7

@ -1,4 +1,4 @@
{ stdenv, meson, ninja, fetchFromGitHub, glib, pkgconfig, gobject-introspection }:
{ stdenv, meson, ninja, fetchFromGitHub, glib, pkgconfig, gtk-doc, docbook_xsl, gobject-introspection }:
stdenv.mkDerivation rec {
name = "playerctl-${version}";
@ -11,13 +11,9 @@ stdenv.mkDerivation rec {
sha256 = "0j1fvcc80307ybl1z9l752sr4bcza2fmb8qdivpnm4xmm82faigb";
};
nativeBuildInputs = [ meson ninja pkgconfig gobject-introspection ];
nativeBuildInputs = [ meson ninja pkgconfig gtk-doc docbook_xsl gobject-introspection ];
buildInputs = [ glib ];
# docs somehow crashes the install phase:
# https://github.com/acrisci/playerctl/issues/85
mesonFlags = [ "-Dgtk-doc=false" ];
meta = with stdenv.lib; {
description = "Command-line utility and library for controlling media players that implement MPRIS";
homepage = https://github.com/acrisci/playerctl;