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";
|
2019-10-24 07:47:37 +01:00
|
|
|
version = "1.0.6";
|
2018-11-04 02:13:45 +00:00
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 07:47:37 +01:00
|
|
|
sha256 = "d0977527bfce6f47c782cb6bf79d2c949ebe3f22ac695fa000b730c671445dad";
|
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";
|
2019-04-22 09:14:28 +01:00
|
|
|
homepage = https://jupyter.org;
|
2018-11-04 02:13:45 +00:00
|
|
|
license = licenses.bsdOriginal;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|