2016-09-27 06:34:40 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libxml2, glibmm, perl }:
|
|
|
|
|
2016-09-26 04:15:32 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2016-09-27 06:34:40 +01:00
|
|
|
name = "libxml++-${maj_ver}.${min_ver}";
|
|
|
|
maj_ver = "3.0";
|
2016-11-20 00:14:09 +00:00
|
|
|
min_ver = "1";
|
2016-09-27 06:34:40 +01:00
|
|
|
|
2016-09-26 04:15:32 +01:00
|
|
|
src = fetchurl {
|
2016-09-27 06:34:40 +01:00
|
|
|
url = "mirror://gnome/sources/libxml++/${maj_ver}/${name}.tar.xz";
|
2016-11-20 00:14:09 +00:00
|
|
|
sha256 = "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r";
|
2016-09-26 04:15:32 +01:00
|
|
|
};
|
|
|
|
|
2016-09-27 06:34:40 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig perl ];
|
|
|
|
|
|
|
|
buildInputs = [ glibmm ];
|
2016-09-26 04:15:32 +01:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ libxml2 ];
|
|
|
|
|
2016-09-27 06:34:40 +01:00
|
|
|
meta = with stdenv.lib; {
|
2016-09-26 04:15:32 +01:00
|
|
|
homepage = http://libxmlplusplus.sourceforge.net/;
|
|
|
|
description = "C++ wrapper for the libxml2 XML parser library, version 3";
|
2016-09-27 06:34:40 +01:00
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
2016-09-27 06:41:01 +01:00
|
|
|
maintainers = with maintainers; [ loskutov ];
|
2016-09-26 04:15:32 +01:00
|
|
|
};
|
|
|
|
}
|