2015-04-26 00:06:16 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libxml2, glibmm, perl }:
|
|
|
|
|
2010-06-26 02:40:42 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2015-04-26 00:06:16 +01:00
|
|
|
name = "libxml++-2.38.0";
|
|
|
|
|
2010-06-26 02:40:42 +01:00
|
|
|
src = fetchurl {
|
2015-04-26 00:06:16 +01:00
|
|
|
url = "mirror://gnome/sources/libxml++/2.38/${name}.tar.xz";
|
|
|
|
sha256 = "0ihk7fprpshs0gp38x2m5jhvrph3iwr0wy1h1qqvh3rjblzv162n";
|
2010-06-26 02:40:42 +01:00
|
|
|
};
|
|
|
|
|
2015-04-26 00:06:16 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig perl ];
|
|
|
|
|
|
|
|
buildInputs = [ glibmm ];
|
2010-10-04 05:15:45 +01:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ libxml2 ];
|
2010-06-26 02:40:42 +01:00
|
|
|
|
|
|
|
configureFlags = "--disable-documentation"; #doesn't build without this for some reason
|
|
|
|
|
2015-04-26 00:06:16 +01:00
|
|
|
meta = with stdenv.lib; {
|
2010-06-26 02:40:42 +01:00
|
|
|
homepage = http://libxmlplusplus.sourceforge.net/;
|
|
|
|
description = "C++ wrapper for the libxml2 XML parser library";
|
2015-04-26 00:06:16 +01:00
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ phreedom wkennington ];
|
2010-06-26 02:40:42 +01:00
|
|
|
};
|
2015-04-26 00:06:16 +01:00
|
|
|
}
|