about summary refs log tree commit diff
path: root/pkgs/development/interpreters/python
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2013-12-23 21:45:46 +0100
committerPeter Simons <simons@cryp.to>2013-12-23 21:45:46 +0100
commit4e917cdc356af05ba9cd2d479b560d3d1dd02d25 (patch)
treed10a359adb5e7de3d1818a6d66fc15f31e296421 /pkgs/development/interpreters/python
parent6bc4007e60319efbc491b8f3cfce50529459f53e (diff)
downloadnixlib-4e917cdc356af05ba9cd2d479b560d3d1dd02d25.tar
nixlib-4e917cdc356af05ba9cd2d479b560d3d1dd02d25.tar.gz
nixlib-4e917cdc356af05ba9cd2d479b560d3d1dd02d25.tar.bz2
nixlib-4e917cdc356af05ba9cd2d479b560d3d1dd02d25.tar.lz
nixlib-4e917cdc356af05ba9cd2d479b560d3d1dd02d25.tar.xz
nixlib-4e917cdc356af05ba9cd2d479b560d3d1dd02d25.tar.zst
nixlib-4e917cdc356af05ba9cd2d479b560d3d1dd02d25.zip
python-2.6-bsddb: build this module with Berkeley DB 4.5
The current 'db' attribute refers to DB 4.8, which Python 2.6 does
recognize: <http://hydra.nixos.org/build/7320517/nixlog/1/raw>.
Diffstat (limited to 'pkgs/development/interpreters/python')
-rw-r--r--pkgs/development/interpreters/python/2.6/default.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/development/interpreters/python/2.6/default.nix b/pkgs/development/interpreters/python/2.6/default.nix
index 6192c9e11e74..7fba70377d74 100644
--- a/pkgs/development/interpreters/python/2.6/default.nix
+++ b/pkgs/development/interpreters/python/2.6/default.nix
@@ -1,5 +1,5 @@
 { stdenv, fetchurl, zlib ? null, zlibSupport ? true, bzip2
-, sqlite, tcl, tk, x11, openssl, readline, db4, ncurses, gdbm
+, sqlite, tcl, tk, x11, openssl, readline, db45, ncurses, gdbm
 }:
 
 assert zlibSupport -> zlib != null;
@@ -17,7 +17,7 @@ let
     url = "http://www.python.org/ftp/python/${version}/Python-${version}.tar.bz2";
     md5 = "c6e0420a21d8b23dee8b0195c9b9a125";
   };
-  
+
   patches =
     [ # Look in C_INCLUDE_PATH and LIBRARY_PATH for stuff.
       ./search-path.patch
@@ -34,12 +34,12 @@ let
     [ bzip2 ]
     ++ optional zlibSupport zlib;
 
-    
+
   # Build the basic Python interpreter without modules that have
   # external dependencies.
   python = stdenv.mkDerivation {
     name = "python-${version}";
-    
+
     inherit majorVersion version src patches buildInputs;
 
     C_INCLUDE_PATH = concatStringsSep ":" (map (p: "${p}/include") buildInputs);
@@ -146,7 +146,7 @@ let
 
     bsddb = buildInternalPythonModule {
       moduleName = "bsddb";
-      deps = [ db4 ];
+      deps = [ db45 ];
     };
 
     crypt = buildInternalPythonModule {
@@ -193,5 +193,5 @@ let
     };
 
   };
-  
+
 in python // { inherit modules; }