2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, notebook
|
|
|
|
, jsonschema
|
|
|
|
, pythonOlder
|
|
|
|
, requests
|
|
|
|
, pytest
|
|
|
|
, pyjson5
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jupyterlab_server";
|
2020-06-02 18:00:15 +00:00
|
|
|
version = "1.1.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-02 18:00:15 +00:00
|
|
|
sha256 = "17eac20af10167abebbeca72e7e390b9c19a400b8fffa158b5cfdcac344253d4";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ requests pytest ];
|
|
|
|
propagatedBuildInputs = [ notebook jsonschema pyjson5 ];
|
|
|
|
|
|
|
|
# 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";
|
|
|
|
homepage = "https://jupyter.org";
|
|
|
|
license = licenses.bsdOriginal;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|