libxmlxx3: split out doc output
This commit is contained in:
parent
8e7cea5cb8
commit
cf41cb2b4a
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r";
|
sha256 = "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" "devdoc" ];
|
outputs = [ "out" "dev" "doc" "devdoc" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig perl ];
|
nativeBuildInputs = [ pkgconfig perl ];
|
||||||
|
|
||||||
@ -17,6 +17,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ libxml2 ];
|
propagatedBuildInputs = [ libxml2 ];
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
substituteInPlace $dev/lib/pkgconfig/libxml++-3.0.pc \
|
||||||
|
--replace 'docdir=''${datarootdir}' "docdir=$doc/share"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://libxmlplusplus.sourceforge.net/;
|
homepage = http://libxmlplusplus.sourceforge.net/;
|
||||||
description = "C++ wrapper for the libxml2 XML parser library, version 3";
|
description = "C++ wrapper for the libxml2 XML parser library, version 3";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user