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-06-05 18:44:35 +01:00
|
|
|
version = "1.1.5";
|
2018-11-04 02:13:45 +00:00
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-05 18:44:35 +01:00
|
|
|
sha256 = "3398e401b95da868bc96bdaa44fa61252bf3e68fc9dd1645bd93293cce095f6c";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|