aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/interpreters/python/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/interpreters/python/default.nix')
-rw-r--r--nixpkgs/pkgs/development/interpreters/python/default.nix50
1 files changed, 18 insertions, 32 deletions
diff --git a/nixpkgs/pkgs/development/interpreters/python/default.nix b/nixpkgs/pkgs/development/interpreters/python/default.nix
index 2def54de12d..e4230093e9c 100644
--- a/nixpkgs/pkgs/development/interpreters/python/default.nix
+++ b/nixpkgs/pkgs/development/interpreters/python/default.nix
@@ -63,28 +63,15 @@ in {
inherit passthruFun;
};
- python35 = callPackage ./cpython {
- self = python35;
- sourceVersion = {
- major = "3";
- minor = "5";
- patch = "9";
- suffix = "";
- };
- sha256 = "0jdh9pvx6m6lfz2liwvvhn7vks7qrysqgwn517fkpxb77b33fjn2";
- inherit (darwin) configd;
- inherit passthruFun;
- };
-
python36 = callPackage ./cpython {
self = python36;
sourceVersion = {
major = "3";
minor = "6";
- patch = "10";
+ patch = "12";
suffix = "";
};
- sha256 = "1pj0mz1xl27khi250p29c0y99vxg662js8zp71aprkf8i8wkr0qa";
+ sha256 = "cJU6m11okdkuZdGEw1EhJqFYFL7hXh7/LdzOBDNOmpk=";
inherit (darwin) configd;
inherit passthruFun;
};
@@ -94,10 +81,10 @@ in {
sourceVersion = {
major = "3";
minor = "7";
- patch = "7";
+ patch = "9";
suffix = "";
};
- sha256 = "0di1y2cna823qgk6sd2lvpjdm3g2qikdd50i2bjd330dpzqsk806";
+ sha256 = "008v6g1jkrjrdmiqlgjlq6msbbj848bvkws6ppwva1ahn03k14li";
inherit (darwin) configd;
inherit passthruFun;
};
@@ -107,10 +94,10 @@ in {
sourceVersion = {
major = "3";
minor = "8";
- patch = "2";
+ patch = "5";
suffix = "";
};
- sha256 = "1ps5v323cp5czfshqjmbsqw7nvrdpcbk06f62jbzaqik4gfffii6";
+ sha256 = "1c43dbv9lvlp3ynqmgdi4rh8q94swanhqarqrdx62zmigpakw073";
inherit (darwin) configd;
inherit passthruFun;
};
@@ -121,15 +108,15 @@ in {
major = "3";
minor = "9";
patch = "0";
- suffix = "a4";
+ suffix = "rc1";
};
- sha256 = "0qzy0wlq0izxk8ii28gy70v138g6xnz9sgsxpyayls2j04l6b5vz";
+ sha256 = "0w6wvyy9fbvfvrmhvmlb5gq18haagywk9hjkp1knjdarfczag9zv";
inherit (darwin) configd;
inherit passthruFun;
};
# Minimal versions of Python (built without optional dependencies)
- python3Minimal = (python37.override {
+ python3Minimal = (python38.override {
self = python3Minimal;
pythonForBuild = pkgs.buildPackages.python3Minimal;
# strip down that python version as much as possible
@@ -146,6 +133,7 @@ in {
rebuildBytecode = false;
stripBytecode = true;
includeSiteCustomize = false;
+ enableOptimizations = false;
}).overrideAttrs(old: {
pname = "python3-minimal";
meta = old.meta // {
@@ -157,10 +145,10 @@ in {
self = pypy27;
sourceVersion = {
major = "7";
- minor = "1";
+ minor = "3";
patch = "1";
};
- sha256 = "0yq6ln1ic476sasp8zs4mg5i9524l1p96qwanp486rr1yza1grlg";
+ sha256 = "08ckkhd0ix6j9873a7gr507c72d4cmnv5lwvprlljdca9i8p2dzs";
pythonVersion = "2.7";
db = db.override { dbmSupport = !stdenv.isDarwin; };
python = python27;
@@ -173,10 +161,10 @@ in {
self = pypy36;
sourceVersion = {
major = "7";
- minor = "1";
+ minor = "3";
patch = "1";
};
- sha256 = "1hqvnran7d2dzj5555n7q680dyzhmbklz04pvkxgb5j604v7kkx1";
+ sha256 = "10zsk8jby8j6visk5mzikpb1cidvz27qq4pfpa26jv53klic6b0c";
pythonVersion = "3.6";
db = db.override { dbmSupport = !stdenv.isDarwin; };
python = python27;
@@ -190,13 +178,12 @@ in {
self = pythonInterpreters.pypy27_prebuilt;
sourceVersion = {
major = "7";
- minor = "1";
+ minor = "3";
patch = "1";
};
- sha256 = "0rlx4x9xy9h989w6sy4h7lknm00956r30c5gjxwsvf8fhvq9xc3k"; # linux64
+ sha256 = "18xc5kwidj5hjwbr0w8v1nfpg5l4lk01z8cn804zfyyz8xjqhx5y"; # linux64
pythonVersion = "2.7";
inherit passthruFun;
- ncurses = ncurses5;
};
pypy36_prebuilt = callPackage ./pypy/prebuilt.nix {
@@ -204,13 +191,12 @@ in {
self = pythonInterpreters.pypy36_prebuilt;
sourceVersion = {
major = "7";
- minor = "1";
+ minor = "3";
patch = "1";
};
- sha256 = "1c1xx6dm1n4xvh1vd3rcvyyixm5jm9rvzisji1a5bc9l38xzc540"; # linux64
+ sha256 = "04nv0mkalaliphbjw7y0pmb372bxwjzwmcsqkf9kwsik99kg2z7n"; # linux64
pythonVersion = "3.6";
inherit passthruFun;
- ncurses = ncurses5;
};
graalpython37 = callPackage ./graalpython/default.nix {