2018-11-04 02:13:45 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, notebook
|
|
|
|
, jsonschema
|
|
|
|
, pythonOlder
|
|
|
|
, requests
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jupyterlab_server";
|
2019-04-02 15:14:07 +01:00
|
|
|
version = "0.3.0";
|
2018-11-04 02:13:45 +00:00
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-02 15:14:07 +01:00
|
|
|
sha256 = "13b728z5ls0g3p1gq5hvfqg7302clxna5grvgjfwbfzss0avlpjc";
|
2018-11-04 02:13:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ requests pytest ];
|
|
|
|
propagatedBuildInputs = [ notebook jsonschema ];
|
|
|
|
|
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
}
|