1 { lib, stdenv, fetchurl, pkg-config, libxml2, glibmm, perl, gnome }:
3 stdenv.mkDerivation rec {
8 url = "mirror://gnome/sources/libxml++/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
9 sha256 = "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r";
12 outputs = [ "out" "dev" "doc" "devdoc" ];
14 nativeBuildInputs = [ pkg-config perl ];
16 buildInputs = [ glibmm ];
18 propagatedBuildInputs = [ libxml2 ];
21 substituteInPlace $dev/lib/pkgconfig/libxml++-3.0.pc \
22 --replace 'docdir=''${datarootdir}' "docdir=$doc/share"
26 updateScript = gnome.updateScript {
27 attrPath = "libxmlxx3";
29 versionPolicy = "odd-unstable";
35 homepage = "https://libxmlplusplus.sourceforge.net/";
36 description = "C++ wrapper for the libxml2 XML parser library, version 3";
37 license = licenses.lgpl2Plus;
38 platforms = platforms.unix;
39 maintainers = with maintainers; [ loskutov ];