blob: 2858f008c2ce81185447e8aa6395e6cddbf908ab (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{ lib
, buildPythonPackage
, fetchPypi
, nose
, jupyter_client
, ipython
, ipykernel
, prompt-toolkit
, pygments
, pythonOlder
}:
buildPythonPackage rec {
pname = "jupyter_console";
version = "6.4.0";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "242248e1685039cd8bff2c2ecb7ce6c1546eb50ee3b08519729e6e881aec19c7";
};
propagatedBuildInputs = [
jupyter_client
ipython
ipykernel
prompt-toolkit
pygments
];
checkInputs = [ nose ];
postPatch = ''
substituteInPlace setup.py \
--replace "prompt_toolkit>=2.0.0,<2.1.0" "prompt_toolkit"
'';
# ValueError: underlying buffer has been detached
doCheck = false;
meta = {
description = "Jupyter terminal console";
homepage = "https://jupyter.org/";
license = lib.licenses.bsd3;
};
}
|