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:
parent
fc7c571dce
commit
bbaa851bf1
|
@ -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; [ ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue