1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

libxmlxx3: refactor to match libxmlxx

This commit is contained in:
Ignat Loskutov 2016-09-27 01:34:40 -04:00
parent fc7c571dce
commit bbaa851bf1

View file

@ -1,20 +1,26 @@
{ stdenv, fetchurl
, pkgconfig, libxml2, glibmm, perl }:
{ stdenv, fetchurl, pkgconfig, libxml2, glibmm, perl }:
stdenv.mkDerivation rec {
name = "libxml++-3.0.0";
name = "libxml++-${maj_ver}.${min_ver}";
maj_ver = "3.0";
min_ver = "0";
src = fetchurl {
url = "mirror://gnome/sources/libxml++/3.0/${name}.tar.xz";
url = "mirror://gnome/sources/libxml++/${maj_ver}/${name}.tar.xz";
sha256 = "0lkrajbdys5f6w6qwfijih3hnbk4c6809qx2mmxkb7bj2w269wrg";
};
buildInputs = [ pkgconfig glibmm perl ];
nativeBuildInputs = [ pkgconfig perl ];
buildInputs = [ glibmm ];
propagatedBuildInputs = [ libxml2 ];
meta = {
meta = with stdenv.lib; {
homepage = http://libxmlplusplus.sourceforge.net/;
description = "C++ wrapper for the libxml2 XML parser library, version 3";
license = "LGPLv2+";
maintainers = with stdenv.maintainers; [ ];
license = licenses.lgpl2Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ ];
};
}