Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
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.2.0"; 14 disabled = pythonOlder "3.5"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "72d916a73957a880cdb885def6d8664a6d1b2760ef5dca5ad665aa1e8d1bb783"; 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 = http://jupyter.org; 35 license = licenses.bsdOriginal; 36 maintainers = [ maintainers.costrouc ]; 37 }; 38}