git.iko.soy/typeable/nixpkgs
on master help sign in
libxmlxx3: refactor to match libxmlxx
commitbbaa851bf13d56f16f7dbef3a224f551258e9e54 authorIgnat Loskutov <loskutov@google.com> dateTue 27 Sep 2016, 01:34 (10 years ago) parentfc7c571
1 file changed+14−8
pkgs/development/libraries/libxmlxx/v3.nix+14−8
pkgs/development/libraries/libxmlxx/v3.nix+14−8
@@ -1,20 +1,26 @@
1−{ stdenv, fetchurl
2−, pkgconfig, libxml2, glibmm, perl }:
1+{ stdenv, fetchurl, pkgconfig, libxml2, glibmm, perl }:
2+
33stdenv.mkDerivation rec {
4− name = "libxml++-3.0.0";
4+ name = "libxml++-${maj_ver}.${min_ver}";
5+ maj_ver = "3.0";
6+ min_ver = "0";
7+
58 src = fetchurl {
6− url = "mirror://gnome/sources/libxml++/3.0/${name}.tar.xz";
9+ url = "mirror://gnome/sources/libxml++/${maj_ver}/${name}.tar.xz";
710 sha256 = "0lkrajbdys5f6w6qwfijih3hnbk4c6809qx2mmxkb7bj2w269wrg";
811 };
912
10− buildInputs = [ pkgconfig glibmm perl ];
13+ nativeBuildInputs = [ pkgconfig perl ];
14+
15+ buildInputs = [ glibmm ];
1116
1217 propagatedBuildInputs = [ libxml2 ];
1318
14− meta = {
19+ meta = with stdenv.lib; {
1520 homepage = http://libxmlplusplus.sourceforge.net/;
1621 description = "C++ wrapper for the libxml2 XML parser library, version 3";
17− license = "LGPLv2+";
18− maintainers = with stdenv.maintainers; [ ];
22+ license = licenses.lgpl2Plus;
23+ platforms = platforms.unix;
24+ maintainers = with maintainers; [ ];
1925 };
2026}