libxmlxx3: split out doc output

This commit is contained in:
Jan Tojnar 2019-06-18 03:16:05 +02:00
parent 8e7cea5cb8
commit cf41cb2b4a
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r";
};
outputs = [ "out" "dev" "devdoc" ];
outputs = [ "out" "dev" "doc" "devdoc" ];
nativeBuildInputs = [ pkgconfig perl ];
@ -17,6 +17,11 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ libxml2 ];
postFixup = ''
substituteInPlace $dev/lib/pkgconfig/libxml++-3.0.pc \
--replace 'docdir=''${datarootdir}' "docdir=$doc/share"
'';
meta = with stdenv.lib; {
homepage = http://libxmlplusplus.sourceforge.net/;
description = "C++ wrapper for the libxml2 XML parser library, version 3";