* Move python/2.7/modules.nix into python/2.7/default.nix. Also

remove the pythonModules attribute.  The built-in modules are now
  accessible as (e.g.) "python.modules.ssl" or "pythonPackages.ssl".

svn path=/nixpkgs/branches/modular-python/; revision=26559
This commit is contained in:
Eelco Dolstra
2011-03-28 09:48:57 +00:00
parent f510e6f7e4
commit 8ca5d5d8b6
4 changed files with 150 additions and 153 deletions

View File

@@ -1,8 +1,12 @@
{ pkgs, python, buildPythonPackage }:
rec {
python.modules // rec {
inherit (pkgs) fetchurl fetchsvn stdenv;
inherit (python.modules) ssl;
argparse = buildPythonPackage (rec {
name = "argparse-1.1";