Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 38 lines 748 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, notebook 5, jsonschema 6, pythonOlder 7, requests 8, pytest 9}: 10 11buildPythonPackage rec { 12 pname = "jupyterlab_server"; 13 version = "0.3.0"; 14 disabled = pythonOlder "3.5"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "13b728z5ls0g3p1gq5hvfqg7302clxna5grvgjfwbfzss0avlpjc"; 19 }; 20 21 checkInputs = [ requests pytest ]; 22 propagatedBuildInputs = [ notebook jsonschema ]; 23 24 # test_listing test fails 25 # this is a new package and not all tests pass 26 doCheck = false; 27 28 checkPhase = '' 29 pytest 30 ''; 31 32 meta = with stdenv.lib; { 33 description = "JupyterLab Server"; 34 homepage = https://jupyter.org; 35 license = licenses.bsdOriginal; 36 maintainers = [ maintainers.costrouc ]; 37 }; 38}