1{ lib
2, buildPythonPackage
3, fetchPypi
4, ipython
5, traitlets
6, glibcLocales
7, mock
8, pytest
9, nose
10}:
11
12buildPythonPackage rec {
13 pname = "jupyter_core";
14 version = "4.6.3";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "394fd5dd787e7c8861741880bdf8a00ce39f95de5d18e579c74b882522219e7e";
19 };
20
21 checkInputs = [ pytest mock glibcLocales nose ];
22 propagatedBuildInputs = [ ipython traitlets ];
23
24 patches = [ ./tests_respect_pythonpath.patch ];
25
26 checkPhase = ''
27 HOME=$TMPDIR LC_ALL=en_US.utf8 py.test
28 '';
29
30 meta = with lib; {
31 description = "Jupyter core package. A base package on which Jupyter projects rely";
32 homepage = "https://jupyter.org/";
33 license = licenses.bsd3;
34 maintainers = with maintainers; [ fridh ];
35 };
36}