diff options
author | Ignat Loskutov <loskutov@google.com> | 2016-09-27 01:34:40 -0400 |
---|---|---|
committer | Ignat Loskutov <loskutov@google.com> | 2016-09-27 01:53:28 -0400 |
commit | bbaa851bf13d56f16f7dbef3a224f551258e9e54 (patch) | |
tree | 9b18b2398cec32ed4a35a467b963165a967b0144 /pkgs/development/libraries/libxmlxx | |
parent | fc7c571dcee83881ebda2fea63d8178710a6bd44 (diff) | |
download | nixlib-bbaa851bf13d56f16f7dbef3a224f551258e9e54.tar nixlib-bbaa851bf13d56f16f7dbef3a224f551258e9e54.tar.gz nixlib-bbaa851bf13d56f16f7dbef3a224f551258e9e54.tar.bz2 nixlib-bbaa851bf13d56f16f7dbef3a224f551258e9e54.tar.lz nixlib-bbaa851bf13d56f16f7dbef3a224f551258e9e54.tar.xz nixlib-bbaa851bf13d56f16f7dbef3a224f551258e9e54.tar.zst nixlib-bbaa851bf13d56f16f7dbef3a224f551258e9e54.zip |
libxmlxx3: refactor to match libxmlxx
Diffstat (limited to 'pkgs/development/libraries/libxmlxx')
-rw-r--r-- | pkgs/development/libraries/libxmlxx/v3.nix | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/pkgs/development/libraries/libxmlxx/v3.nix b/pkgs/development/libraries/libxmlxx/v3.nix index e665cfdea6fd..0db3870b05aa 100644 --- a/pkgs/development/libraries/libxmlxx/v3.nix +++ b/pkgs/development/libraries/libxmlxx/v3.nix @@ -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; [ ]; }; } |