python35: remove
This commit is contained in:
parent
6fffd50623
commit
91bec61635
5 changed files with 1 additions and 88 deletions
|
@ -63,19 +63,6 @@ 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 = {
|
||||
|
|
|
@ -1,69 +0,0 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
# Build dependencies
|
||||
, glibcLocales
|
||||
# Test dependencies
|
||||
, nose
|
||||
, pygments
|
||||
# Runtime dependencies
|
||||
, jedi
|
||||
, decorator
|
||||
, pickleshare
|
||||
, traitlets
|
||||
, prompt_toolkit
|
||||
, pexpect
|
||||
, appnope
|
||||
, backcall
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ipython";
|
||||
version = "7.9.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "103jkw18z7fnwdal1mdbijjxi1fndzn31g887lmj7ddpf2r07lyz";
|
||||
};
|
||||
|
||||
prePatch = lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace setup.py --replace "'gnureadline'" " "
|
||||
'';
|
||||
|
||||
buildInputs = [ glibcLocales ];
|
||||
|
||||
checkInputs = [ nose pygments ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
jedi
|
||||
decorator
|
||||
pickleshare
|
||||
traitlets
|
||||
prompt_toolkit
|
||||
pygments
|
||||
pexpect
|
||||
backcall
|
||||
] ++ lib.optionals stdenv.isDarwin [appnope];
|
||||
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
doCheck = false; # Circular dependency with ipykernel
|
||||
|
||||
checkPhase = ''
|
||||
nosetests
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"IPython"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "IPython: Productive Interactive Computing";
|
||||
homepage = "http://ipython.org/";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ bjornfor ];
|
||||
};
|
||||
}
|
|
@ -9901,7 +9901,6 @@ in
|
|||
python2Full = python2.override{x11Support=true;};
|
||||
python27Full = python27.override{x11Support=true;};
|
||||
python3Full = python3.override{x11Support=true;};
|
||||
python35Full = python35.override{x11Support=true;};
|
||||
python36Full = python36.override{x11Support=true;};
|
||||
python37Full = python37.override{x11Support=true;};
|
||||
python38Full = python38.override{x11Support=true;};
|
||||
|
@ -9913,11 +9912,10 @@ in
|
|||
python3Packages = python3.pkgs;
|
||||
|
||||
pythonInterpreters = callPackage ./../development/interpreters/python {};
|
||||
inherit (pythonInterpreters) python27 python35 python36 python37 python38 python39 python3Minimal pypy27 pypy36;
|
||||
inherit (pythonInterpreters) python27 python36 python37 python38 python39 python3Minimal pypy27 pypy36;
|
||||
|
||||
# Python package sets.
|
||||
python27Packages = lib.hiPrioSet (recurseIntoAttrs python27.pkgs);
|
||||
python35Packages = python35.pkgs;
|
||||
python36Packages = python36.pkgs;
|
||||
python37Packages = recurseIntoAttrs python37.pkgs;
|
||||
python38Packages = recurseIntoAttrs python38.pkgs;
|
||||
|
|
|
@ -4411,8 +4411,6 @@ in {
|
|||
|
||||
ipython = if isPy27 then
|
||||
callPackage ../development/python-modules/ipython/5.nix { }
|
||||
else if isPy35 then
|
||||
callPackage ../development/python-modules/ipython/7.9.nix { }
|
||||
else
|
||||
callPackage ../development/python-modules/ipython { };
|
||||
|
||||
|
|
|
@ -269,7 +269,6 @@ in {
|
|||
) super.ocaml-ng;
|
||||
|
||||
python27 = super.python27.override { static = true; };
|
||||
python35 = super.python35.override { static = true; };
|
||||
python36 = super.python36.override { static = true; };
|
||||
python37 = super.python37.override { static = true; };
|
||||
python38 = super.python38.override { static = true; };
|
||||
|
|
Loading…
Reference in a new issue