* Add some more Python modules.

svn path=/nixpkgs/branches/modular-python/; revision=25390
This commit is contained in:
Eelco Dolstra 2011-01-04 16:10:28 +00:00
parent 4a5042a1a1
commit dc1ac3c5d9
1 changed files with 23 additions and 7 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, python, sqlite, tcl, tk, x11, openssl, readline }:
{ stdenv, python, sqlite, tcl, tk, x11, openssl, readline, db4, ncurses, gdbm }:
with stdenv.lib;
@ -46,25 +46,41 @@ let
in {
bsddb = buildInternalPythonModule {
moduleName = "bsddb";
deps = [ db4 ];
};
curses = buildInternalPythonModule {
moduleName = "curses";
deps = [ ncurses ];
};
gdbm = buildInternalPythonModule {
moduleName = "gdbm";
internalName = "gdbm";
deps = [ gdbm ];
};
sqlite3 = buildInternalPythonModule {
moduleName = "sqlite3";
deps = [ sqlite ];
};
tkinter = buildInternalPythonModule {
moduleName = "tkinter";
deps = [ tcl tk x11 ];
};
ssl = buildInternalPythonModule {
moduleName = "ssl";
deps = [ openssl ];
};
tkinter = buildInternalPythonModule {
moduleName = "tkinter";
deps = [ tcl tk x11 ];
};
readline = buildInternalPythonModule {
moduleName = "readline";
internalName = "readline";
deps = [ readline ];
};
}