From c4d7d5811b5401d1d89c8385e8460f78fbc6c914 Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Thu, 6 Jul 2006 22:31:05 +0000 Subject: [PATCH] libxml2 2.6.26 svn path=/nixpkgs/trunk/; revision=5635 --- .../libraries/libxml2/libxml2-2.6.26.nix | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pkgs/development/libraries/libxml2/libxml2-2.6.26.nix diff --git a/pkgs/development/libraries/libxml2/libxml2-2.6.26.nix b/pkgs/development/libraries/libxml2/libxml2-2.6.26.nix new file mode 100644 index 00000000000..ca3067f0765 --- /dev/null +++ b/pkgs/development/libraries/libxml2/libxml2-2.6.26.nix @@ -0,0 +1,20 @@ +{stdenv, fetchurl, zlib, python ? null, pythonSupport ? true}: + +assert zlib != null; +assert pythonSupport -> python != null; + +stdenv.mkDerivation { + name = "libxml2-2.6.26"; + builder = ./builder.sh; + + src = fetchurl { + url = ftp://xmlsoft.org/libxml2/libxml2-2.6.26.tar.gz; + md5 = "2d8d3805041edab967368b497642f981"; + }; + + python = if pythonSupport then python else null; + inherit pythonSupport; + + buildInputs = if pythonSupport then [python] else []; + propagatedBuildInputs = [zlib]; +}