Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 52 lines 1.1 kB view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, jsonschema 5, pythonOlder 6, requests 7, pytestCheckHook 8, pyjson5 9, Babel 10, jupyter_server 11, pytest-tornasync 12, pytestcov 13, strict-rfc3339 14}: 15 16buildPythonPackage rec { 17 pname = "jupyterlab_server"; 18 version = "2.3.0"; 19 disabled = pythonOlder "3.5"; 20 21 src = fetchPypi { 22 inherit pname version; 23 sha256 = "sha256-56AkWqPeI6GAPeLv9AHkykWUU42fWYBhNPMEGabYtqM="; 24 }; 25 26 propagatedBuildInputs = [ requests jsonschema pyjson5 Babel jupyter_server ]; 27 28 checkInputs = [ 29 pytestCheckHook 30 pytest-tornasync 31 pytestcov 32 strict-rfc3339 33 ]; 34 35 disabledTests = [ 36 "test_get_locale" 37 "test_get_installed_language_pack_locales_passes" 38 "test_get_installed_package_locales" 39 "test_get_installed_packages_locale" 40 "test_get_language_packs" 41 "test_get_language_pack" 42 ]; 43 44 __darwinAllowLocalNetworking = true; 45 46 meta = with lib; { 47 description = "JupyterLab Server"; 48 homepage = "https://jupyter.org"; 49 license = licenses.bsdOriginal; 50 maintainers = [ maintainers.costrouc ]; 51 }; 52}