python310: init at 3.10a1

This commit is contained in:
Jonathan Ringer
2020-10-12 23:28:25 -07:00
committed by Jon
parent 154fa4d0e7
commit 67d2de5ffa
3 changed files with 116 additions and 1 deletions

View File

@@ -28,6 +28,7 @@ with pkgs;
isPy37 = pythonVersion == "3.7";
isPy38 = pythonVersion == "3.8";
isPy39 = pythonVersion == "3.9";
isPy310 = pythonVersion == "3.10";
isPy2 = lib.strings.substring 0 1 pythonVersion == "2";
isPy3 = lib.strings.substring 0 1 pythonVersion == "3";
isPy3k = isPy3;
@@ -115,6 +116,19 @@ in {
inherit passthruFun;
};
python310 = callPackage ./cpython {
self = python310;
sourceVersion = {
major = "3";
minor = "10";
patch = "0";
suffix = "a1";
};
sha256 = "0q59a99w1yad808mx4w6l0j7bk7dbd2kakngbk0w1h9z4dhr8wyv";
inherit (darwin) configd;
inherit passthruFun;
};
# Minimal versions of Python (built without optional dependencies)
python3Minimal = (python38.override {
self = python3Minimal;