summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorFlorian Friesdorf <flo@chaoflow.net>2014-07-07 18:24:31 +0200
committerFlorian Friesdorf <flo@chaoflow.net>2014-07-10 16:33:45 +0200
commit19dd74c59a92d83244f6f6e790a821e59c53ce05 (patch)
tree49754fc8ab2ccd1a0bebbcc242d262b2d6758aab /pkgs
parent95b204cd335be3d5e21c5ba55c7b79d1f97bbe97 (diff)
downloadnixpkgs-19dd74c59a92d83244f6f6e790a821e59c53ce05.tar
nixpkgs-19dd74c59a92d83244f6f6e790a821e59c53ce05.tar.gz
nixpkgs-19dd74c59a92d83244f6f6e790a821e59c53ce05.tar.bz2
nixpkgs-19dd74c59a92d83244f6f6e790a821e59c53ce05.tar.lz
nixpkgs-19dd74c59a92d83244f6f6e790a821e59c53ce05.tar.xz
nixpkgs-19dd74c59a92d83244f6f6e790a821e59c53ce05.tar.zst
nixpkgs-19dd74c59a92d83244f6f6e790a821e59c53ce05.zip
libxml2 version passthru
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/libxml2/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libxml2/default.nix b/pkgs/development/libraries/libxml2/default.nix
index b235c746e1a..7e3ee3e9adc 100644
--- a/pkgs/development/libraries/libxml2/default.nix
+++ b/pkgs/development/libraries/libxml2/default.nix
@@ -4,8 +4,12 @@ assert pythonSupport -> python != null;
 
 #TODO: share most stuff between python and non-python builds, perhaps via multiple-output
 
+let
+  version = "2.9.1";
+in
+
 stdenv.mkDerivation (rec {
-  name = "libxml2-2.9.1";
+  name = "libxml2-${version}";
 
   src = fetchurl {
     url = "ftp://xmlsoft.org/libxml2/${name}.tar.gz";
@@ -22,7 +26,7 @@ stdenv.mkDerivation (rec {
 
   setupHook = ./setup-hook.sh;
 
-  passthru = { inherit pythonSupport; };
+  passthru = { inherit pythonSupport version; };
 
   enableParallelBuilding = true;