nixpkgs/pkgs/development/libraries/libxml2/default.nix
Florian Friesdorf 09cfb46f58 separate libxml2 python bindings, added libconvOrLibC dependency
authored by: chaoflow, goibhniu

svn path=/nixpkgs/branches/stdenv-updates/; revision=32596
2012-02-26 17:23:50 +00:00

23 lines
508 B
Nix

{ stdenv, fetchurl, libiconvOrLibc, zlib }:
stdenv.mkDerivation {
name = "libxml2-2.7.7";
src = fetchurl {
url = ftp://xmlsoft.org/libxml2/libxml2-sources-2.7.7.tar.gz;
sha256 = "03kkknm7xl77qfdig8mzalsi8ljsyblzin18gy3h8zranffrpyzs";
};
propagatedBuildInputs = [ libiconvOrLibc zlib ];
setupHook = ./setup-hook.sh;
passthru = { libiconv = libiconvOrLibc; };
meta = {
homepage = http://xmlsoft.org/;
description = "A XML parsing library for C";
license = "bsd";
};
}