2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-11-04 02:13:45 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, jsonschema
|
|
|
|
, pythonOlder
|
|
|
|
, requests
|
2020-12-29 08:00:53 +00:00
|
|
|
, pytestCheckHook
|
2019-11-10 09:49:27 +00:00
|
|
|
, pyjson5
|
2020-12-29 08:00:53 +00:00
|
|
|
, Babel
|
|
|
|
, jupyter_server
|
|
|
|
, pytest-tornasync
|
|
|
|
, pytestcov
|
|
|
|
, strict-rfc3339
|
2018-11-04 02:13:45 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jupyterlab_server";
|
2020-12-29 08:00:53 +00:00
|
|
|
version = "2.3.0";
|
2018-11-04 02:13:45 +00:00
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-12-29 08:00:53 +00:00
|
|
|
sha256 = "sha256-56AkWqPeI6GAPeLv9AHkykWUU42fWYBhNPMEGabYtqM=";
|
2018-11-04 02:13:45 +00:00
|
|
|
};
|
|
|
|
|
2020-12-29 08:00:53 +00:00
|
|
|
propagatedBuildInputs = [ requests jsonschema pyjson5 Babel jupyter_server ];
|
2018-11-04 02:13:45 +00:00
|
|
|
|
2020-12-29 08:00:53 +00:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
pytest-tornasync
|
|
|
|
pytestcov
|
|
|
|
strict-rfc3339
|
|
|
|
];
|
2018-11-04 02:13:45 +00:00
|
|
|
|
2020-12-29 08:00:53 +00:00
|
|
|
disabledTests = [
|
|
|
|
"test_get_locale"
|
|
|
|
"test_get_installed_language_pack_locales_passes"
|
|
|
|
"test_get_installed_package_locales"
|
|
|
|
"test_get_installed_packages_locale"
|
|
|
|
"test_get_language_packs"
|
|
|
|
"test_get_language_pack"
|
|
|
|
];
|
2018-11-04 02:13:45 +00:00
|
|
|
|
2021-05-23 04:36:39 +00:00
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-11-04 02:13:45 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|