Skip to content

Commit 8d4e377

Browse files
committedSep 13, 2017
python.pkgs.jupyter_console: 5.0.0 -> 5.2.0
1 parent e3b562e commit 8d4e377

File tree

2 files changed

+41
-26
lines changed

2 files changed

+41
-26
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{ lib
2+
, buildPythonPackage
3+
, fetchPypi
4+
, nose
5+
, jupyter_client
6+
, ipython
7+
, ipykernel
8+
, prompt_toolkit
9+
, pygments
10+
}:
11+
12+
buildPythonPackage rec {
13+
pname = "jupyter_console";
14+
version = "5.2.0";
15+
name = "${pname}-${version}";
16+
17+
src = fetchPypi {
18+
inherit pname version;
19+
sha256 = "545dedd3aaaa355148093c5609f0229aeb121b4852995c2accfa64fe3e0e55cd";
20+
};
21+
22+
checkInputs = [ nose ];
23+
propagatedBuildInputs = [
24+
jupyter_client
25+
ipython
26+
ipykernel
27+
prompt_toolkit
28+
pygments
29+
];
30+
31+
# ValueError: underlying buffer has been detached
32+
doCheck = false;
33+
34+
meta = {
35+
description = "Jupyter terminal console";
36+
homepage = "http://jupyter.org/";
37+
license = lib.licenses.bsd3;
38+
platforms = lib.platforms.all;
39+
};
40+
}

‎pkgs/top-level/python-packages.nix

+1-26
Original file line numberDiff line numberDiff line change
@@ -6722,32 +6722,7 @@ in {
67226722
};
67236723
};
67246724

6725-
jupyter_console = buildPythonPackage rec {
6726-
version = "5.0.0";
6727-
name = "jupyter_console-${version}";
6728-
6729-
src = pkgs.fetchurl {
6730-
url = "mirror://pypi/j/jupyter_console/${name}.tar.gz";
6731-
sha256 = "7ddfc8cc49921b0ed852500928922e637f9188358c94b5c76339a5a8f9ac4c11";
6732-
};
6733-
6734-
buildInputs = with self; [ nose ];
6735-
propagatedBuildInputs = with self; [
6736-
jupyter_client
6737-
ipython
6738-
ipykernel
6739-
];
6740-
6741-
# ValueError: underlying buffer has been detached
6742-
doCheck = false;
6743-
6744-
meta = {
6745-
description = "Jupyter terminal console";
6746-
homepage = "http://jupyter.org/";
6747-
license = licenses.bsd3;
6748-
platforms = platforms.all;
6749-
};
6750-
};
6725+
jupyter_console = callPackage ../development/python-modules/jupyter_console { };
67516726

67526727
jupyterlab = buildPythonPackage rec {
67536728
name = "jupyterlab-${version}";

0 commit comments

Comments
 (0)
Please sign in to comment.