1{ lib 2, buildPythonPackage 3, fetchPypi 4, ipython 5, traitlets 6, glibcLocales 7, mock 8, pytest 9}: 10 11buildPythonPackage rec { 12 pname = "jupyter_core"; 13 version = "4.4.0"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "ba70754aa680300306c699790128f6fbd8c306ee5927976cbe48adacf240c0b7"; 18 }; 19 20 checkInputs = [ pytest mock glibcLocales ]; 21 propagatedBuildInputs = [ ipython traitlets ]; 22 23 patches = [ ./tests_respect_pythonpath.patch ]; 24 25 checkPhase = '' 26 mkdir tmp 27 HOME=tmp TMPDIR=tmp 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 = http://jupyter.org/; 33 license = licenses.bsd3; 34 maintainers = with maintainers; [ fridh globin ]; 35 }; 36}