From 36bf2f60d1ebd96acd378056a4de92712e979842 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Tue, 15 Sep 2015 09:17:42 +0200 Subject: [PATCH] python-packages: Python 3.5 --- pkgs/top-level/python-packages.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index af8a3736c53..8bf124e208e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9,6 +9,7 @@ let isPy27 = python.majorVersion == "2.7"; isPy33 = python.majorVersion == "3.3"; isPy34 = python.majorVersion == "3.4"; + isPy35 = python.majorVersion == "3.5"; isPyPy = python.executable == "pypy"; isPy3k = strings.substring 0 1 python.majorVersion == "3"; @@ -22,6 +23,7 @@ let if isPy27 then "python27" else if isPy33 then "python33" else if isPy34 then "python34" else + if isPy35 then "python35" else if isPyPy then "pypy" else ""; modules = python.modules or { @@ -34,7 +36,7 @@ let pythonPackages = modules // { - inherit python isPy26 isPy27 isPy33 isPy34 isPyPy isPy3k pythonName buildPythonPackage; + inherit python isPy26 isPy27 isPy33 isPy34 isPy35 isPyPy isPy3k pythonName buildPythonPackage; # helpers