python36Packages.ipython: remove
since python36 is no longer part of nixpkgs.
This commit is contained in:
parent
ea222b17d1
commit
470fdb307a
2 changed files with 1 additions and 73 deletions
|
@ -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
|
|
||||||
}:
|
|
||||||
|
|
||||||
buildPythonPackage rec {
|
|
||||||
pname = "ipython";
|
|
||||||
version = "7.16.1";
|
|
||||||
disabled = pythonOlder "3.6";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
|
||||||
inherit pname version;
|
|
||||||
sha256 = "9f4fcb31d3b2c533333893b9172264e4821c1ac91839500f31bd43f2c59b3ccf";
|
|
||||||
};
|
|
||||||
|
|
||||||
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 fridh ];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -4002,10 +4002,7 @@ in {
|
||||||
|
|
||||||
ipython_genutils = callPackage ../development/python-modules/ipython_genutils { };
|
ipython_genutils = callPackage ../development/python-modules/ipython_genutils { };
|
||||||
|
|
||||||
ipython = if isPy36 then
|
ipython = callPackage ../development/python-modules/ipython { };
|
||||||
callPackage ../development/python-modules/ipython/7.16.nix { }
|
|
||||||
else
|
|
||||||
callPackage ../development/python-modules/ipython { };
|
|
||||||
|
|
||||||
ipyvue = callPackage ../development/python-modules/ipyvue { };
|
ipyvue = callPackage ../development/python-modules/ipyvue { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue