2018-11-04 02:13:45 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, notebook
|
|
|
|
, jsonschema
|
|
|
|
, pythonOlder
|
|
|
|
, requests
|
|
|
|
, pytest
|
2019-11-10 09:49:27 +00:00
|
|
|
, pyjson5
|
2018-11-04 02:13:45 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jupyterlab_server";
|
2020-04-07 02:13:07 +01:00
|
|
|
version = "1.1.0";
|
2018-11-04 02:13:45 +00:00
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-04-07 02:13:07 +01:00
|
|
|
sha256 = "0cqpyy4jr3023c47ij08djkpx526gmz8fab45mcnws0glhp7xhms";
|
2018-11-04 02:13:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ requests pytest ];
|
2019-11-10 09:49:27 +00:00
|
|
|
propagatedBuildInputs = [ notebook jsonschema pyjson5 ];
|
2018-11-04 02:13:45 +00:00
|
|
|
|
|
|
|
# test_listing test fails
|
|
|
|
# this is a new package and not all tests pass
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "JupyterLab Server";
|
2020-03-09 11:05:00 +00:00
|
|
|
homepage = "https://jupyter.org";
|
2018-11-04 02:13:45 +00:00
|
|
|
license = licenses.bsdOriginal;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|