Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 51 lines 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 6 # build-system 7 hatchling, 8 9 # dependencies 10 jupyter-collaboration-ui, 11 jupyter-docprovider, 12 jupyter-server-ydoc, 13 14 # tests 15 callPackage, 16}: 17 18buildPythonPackage rec { 19 pname = "jupyter-collaboration"; 20 version = "3.0.0"; 21 pyproject = true; 22 23 src = fetchPypi { 24 pname = "jupyter_collaboration"; 25 inherit version; 26 hash = "sha256-eewAsh/EI8DV4FNWgjEhT61RUbaYE6suOAny4bf1CCw="; 27 }; 28 29 build-system = [ hatchling ]; 30 31 dependencies = [ 32 jupyter-collaboration-ui 33 jupyter-docprovider 34 jupyter-server-ydoc 35 ]; 36 37 pythonImportsCheck = [ "jupyter_collaboration" ]; 38 39 # no tests 40 doCheck = false; 41 42 passthru.tests = callPackage ./test.nix { }; 43 44 meta = { 45 description = "JupyterLab Extension enabling Real-Time Collaboration"; 46 homepage = "https://github.com/jupyterlab/jupyter_collaboration"; 47 changelog = "https://github.com/jupyterlab/jupyter_collaboration/blob/v${version}/CHANGELOG.md"; 48 license = lib.licenses.bsd3; 49 maintainers = lib.teams.jupyter.members; 50 }; 51}