libxmlxx3: refactor to match libxmlxx
This commit is contained in:
parent
fc7c571dce
commit
bbaa851bf1
@ -1,20 +1,26 @@
|
|||||||
{ stdenv, fetchurl
|
{ stdenv, fetchurl, pkgconfig, libxml2, glibmm, perl }:
|
||||||
, pkgconfig, libxml2, glibmm, perl }:
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libxml++-3.0.0";
|
name = "libxml++-${maj_ver}.${min_ver}";
|
||||||
|
maj_ver = "3.0";
|
||||||
|
min_ver = "0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/libxml++/3.0/${name}.tar.xz";
|
url = "mirror://gnome/sources/libxml++/${maj_ver}/${name}.tar.xz";
|
||||||
sha256 = "0lkrajbdys5f6w6qwfijih3hnbk4c6809qx2mmxkb7bj2w269wrg";
|
sha256 = "0lkrajbdys5f6w6qwfijih3hnbk4c6809qx2mmxkb7bj2w269wrg";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig glibmm perl ];
|
nativeBuildInputs = [ pkgconfig perl ];
|
||||||
|
|
||||||
|
buildInputs = [ glibmm ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ libxml2 ];
|
propagatedBuildInputs = [ libxml2 ];
|
||||||
|
|
||||||
meta = {
|
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";
|
||||||
license = "LGPLv2+";
|
license = licenses.lgpl2Plus;
|
||||||
maintainers = with stdenv.maintainers; [ ];
|
platforms = platforms.unix;
|
||||||
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user