git.iko.soy/typeable/nixpkgs
on master help sign in
Python: move some attributes together with the rest of the Python-related attributes.
commita0aae85012ec4807d46495f44246ea092db2570e authorFrederik Rietdijk <fridh@fridh.nl> dateSun 13 Aug 2017, 21:30 (9 years ago) parent2d5a04e
1 file changed+11−19
pkgs/top-level/all-packages.nix+11−19
pkgs/top-level/all-packages.nix+11−19
@@ -6336,6 +6336,7 @@ with pkgs;
63366336 python = python2;
63376337 python2 = python27;
63386338 python3 = python36;
6339+ pypy = pypy27;
63396340
63406341 # Python interpreter that is build with all modules, including tkinter.
63416342 # These are for compatibility and should not be used inside Nixpkgs.
@@ -6369,17 +6370,22 @@ with pkgs;
63696370 self = python36;
63706371 };
63716372
6372− # Should eventually be moved inside Python interpreters.
6373− python-setup-hook = callPackage ../development/interpreters/python/setup-hook.nix { };
6374−
6375− pypy = pypy27;
6376−
63776373 pypy27 = callPackage ../development/interpreters/python/pypy/2.7 {
63786374 self = pypy27;
63796375 python = python27.override{x11Support=true;};
63806376 db = db.override { dbmSupport = true; };
63816377 };
63826378
6379+ # Python package sets.
6380+ python27Packages = lib.hiPrioSet (recurseIntoAttrs python27.pkgs);
6381+ python34Packages = python34.pkgs;
6382+ python35Packages = python35.pkgs;
6383+ python36Packages = recurseIntoAttrs python36.pkgs;
6384+ pypyPackages = pypy.pkgs;
6385+
6386+ # Should eventually be moved inside Python interpreters.
6387+ python-setup-hook = callPackage ../development/interpreters/python/setup-hook.nix { };
6388+
63836389 python2nix = callPackage ../tools/package-management/python2nix { };
63846390
63856391 pythonDocs = recurseIntoAttrs (callPackage ../development/interpreters/python/cpython/docs {});
@@ -10914,20 +10920,6 @@ with pkgs;
1091410920 sqitchModule = perlPackages.AppSqitch;
1091510921 };
1091610922
10917− ### DEVELOPMENT / PYTHON MODULES
10918−
10919− # Python package sets.
10920−
10921− python27Packages = lib.hiPrioSet (recurseIntoAttrs python27.pkgs);
10922−
10923− python34Packages = python34.pkgs;
10924−
10925− python35Packages = python35.pkgs;
10926−
10927− python36Packages = recurseIntoAttrs python36.pkgs;
10928−
10929− pypyPackages = pypy.pkgs;
10930−
1093110923 ### DEVELOPMENT / R MODULES
1093210924
1093310925 R = callPackage ../applications/science/math/R {