2017-10-23 12:51:38 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, ipython
|
|
|
|
, traitlets
|
|
|
|
, glibcLocales
|
|
|
|
, mock
|
|
|
|
, pytest
|
2019-10-16 18:11:56 +02:00
|
|
|
, nose
|
2017-10-23 12:51:38 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jupyter_core";
|
2020-03-29 13:56:39 +02:00
|
|
|
version = "4.6.3";
|
2017-10-23 12:51:38 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-03-29 13:56:39 +02:00
|
|
|
sha256 = "394fd5dd787e7c8861741880bdf8a00ce39f95de5d18e579c74b882522219e7e";
|
2017-10-23 12:51:38 +02:00
|
|
|
};
|
|
|
|
|
2019-10-16 18:11:56 +02:00
|
|
|
checkInputs = [ pytest mock glibcLocales nose ];
|
2017-10-23 12:51:38 +02:00
|
|
|
propagatedBuildInputs = [ ipython traitlets ];
|
|
|
|
|
|
|
|
patches = [ ./tests_respect_pythonpath.patch ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
2019-08-03 02:30:44 +02:00
|
|
|
HOME=$TMPDIR LC_ALL=en_US.utf8 py.test
|
2017-10-23 12:51:38 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Jupyter core package. A base package on which Jupyter projects rely";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://jupyter.org/";
|
2017-10-23 12:51:38 +02:00
|
|
|
license = licenses.bsd3;
|
2019-08-20 19:36:05 +02:00
|
|
|
maintainers = with maintainers; [ fridh ];
|
2017-10-23 12:51:38 +02:00
|
|
|
};
|
|
|
|
}
|