Skip to content

Commit

Permalink
Python: move some attributes together with the rest of the Python-rel…
Browse files Browse the repository at this point in the history
…ated attributes.
  • Loading branch information
FRidh committed Aug 13, 2017
1 parent 2d5a04e commit a0aae85
Showing 1 changed file with 11 additions and 19 deletions.
30 changes: 11 additions & 19 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6336,6 +6336,7 @@ with pkgs;
python = python2;
python2 = python27;
python3 = python36;
pypy = pypy27;

# Python interpreter that is build with all modules, including tkinter.
# These are for compatibility and should not be used inside Nixpkgs.
Expand Down Expand Up @@ -6369,17 +6370,22 @@ with pkgs;
self = python36;
};

# Should eventually be moved inside Python interpreters.
python-setup-hook = callPackage ../development/interpreters/python/setup-hook.nix { };

pypy = pypy27;

pypy27 = callPackage ../development/interpreters/python/pypy/2.7 {
self = pypy27;
python = python27.override{x11Support=true;};
db = db.override { dbmSupport = true; };
};

# Python package sets.
python27Packages = lib.hiPrioSet (recurseIntoAttrs python27.pkgs);
python34Packages = python34.pkgs;
python35Packages = python35.pkgs;
python36Packages = recurseIntoAttrs python36.pkgs;
pypyPackages = pypy.pkgs;

# Should eventually be moved inside Python interpreters.
python-setup-hook = callPackage ../development/interpreters/python/setup-hook.nix { };

python2nix = callPackage ../tools/package-management/python2nix { };

pythonDocs = recurseIntoAttrs (callPackage ../development/interpreters/python/cpython/docs {});
Expand Down Expand Up @@ -10914,20 +10920,6 @@ with pkgs;
sqitchModule = perlPackages.AppSqitch;
};

### DEVELOPMENT / PYTHON MODULES

# Python package sets.

python27Packages = lib.hiPrioSet (recurseIntoAttrs python27.pkgs);

python34Packages = python34.pkgs;

python35Packages = python35.pkgs;

python36Packages = recurseIntoAttrs python36.pkgs;

pypyPackages = pypy.pkgs;

### DEVELOPMENT / R MODULES

R = callPackage ../applications/science/math/R {
Expand Down

0 comments on commit a0aae85

Please sign in to comment.