3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/jupyterlab_server/default.nix
2021-06-22 13:42:32 +02:00

53 lines
1 KiB
Nix

{ lib
, buildPythonPackage
, fetchPypi
, jsonschema
, pythonOlder
, requests
, pytestCheckHook
, pyjson5
, Babel
, jupyter_server
, pytest-tornasync
, pytestcov
, strict-rfc3339
}:
buildPythonPackage rec {
pname = "jupyterlab_server";
version = "2.6.0";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "f300adf6bb0a952bebe9c807a3b2a345d62da39b476b4f69ea0dc6b5f3f6b97d";
};
propagatedBuildInputs = [ requests jsonschema pyjson5 Babel jupyter_server ];
checkInputs = [
pytestCheckHook
pytest-tornasync
pytestcov
strict-rfc3339
];
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"
];
__darwinAllowLocalNetworking = true;
meta = with lib; {
description = "JupyterLab Server";
homepage = "https://jupyter.org";
license = licenses.bsdOriginal;
maintainers = [ maintainers.costrouc ];
};
}