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