From 877d8a6f2717dec15a67a235749cfa050ba2ed0b Mon Sep 17 00:00:00 2001 From: Evgeny Egorochkin Date: Sat, 26 Jun 2010 01:40:42 +0000 Subject: [PATCH] Packaged libxml++ svn path=/nixpkgs/trunk/; revision=22417 --- .../libraries/libxmlxx/default.nix | 20 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 6 ++++++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/development/libraries/libxmlxx/default.nix diff --git a/pkgs/development/libraries/libxmlxx/default.nix b/pkgs/development/libraries/libxmlxx/default.nix new file mode 100644 index 000000000000..7066bc6f9d5e --- /dev/null +++ b/pkgs/development/libraries/libxmlxx/default.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl +, pkgconfig, libxml2, glibmm, perl }: +stdenv.mkDerivation rec { + name = "libxml++-2.30.0"; + src = fetchurl { + url = "mirror://gnome/sources/libxml++/2.30/${name}.tar.bz2"; + sha256 = "1hgpw9lld0k6z34kxrapz8dxf3cbgnnhkx6himnvw9ax3qf7p5gk"; + }; + + buildInputs = [ pkgconfig libxml2 glibmm perl ]; + + configureFlags = "--disable-documentation"; #doesn't build without this for some reason + + meta = { + homepage = http://libxmlplusplus.sourceforge.net/; + description = "C++ wrapper for the libxml2 XML parser library"; + license = "LGPLv2+"; + maintainers = [ stdenv.lib.maintainers.phreedom ]; + }; +} \ No newline at end of file diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ed1311dcff69..6fff3365450d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4850,6 +4850,12 @@ let pythonSupport = true; }; + libxmlxx = import ../development/libraries/libxmlxx { + inherit stdenv fetchurl; + inherit pkgconfig libxml2 perl; + inherit (gtkLibs) glibmm; + }; + libxslt = makeOverridable (import ../development/libraries/libxslt) { inherit fetchurl stdenv libxml2; };