mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
47 lines
1015 B
Nix
47 lines
1015 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
|
|
# build-system
|
|
hatchling,
|
|
hatch-jupyter-builder,
|
|
jupyter-builder,
|
|
|
|
# passthru
|
|
jupyter-collaboration,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "jupyter-collaboration-ui";
|
|
version = "3.0.0";
|
|
pyproject = true;
|
|
__structuredAttrs = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "jupyter_collaboration_ui";
|
|
inherit (finalAttrs) version;
|
|
hash = "sha256-cPR+sCvX1RqLTLcPqQ6+TS8OrDUNkVxcOzAYySiqXx0=";
|
|
};
|
|
|
|
build-system = [
|
|
hatchling
|
|
hatch-jupyter-builder
|
|
jupyter-builder
|
|
];
|
|
|
|
pythonImportsCheck = [ "jupyter_collaboration_ui" ];
|
|
|
|
# no tests
|
|
doCheck = false;
|
|
|
|
passthru.tests = jupyter-collaboration;
|
|
|
|
meta = {
|
|
description = "JupyterLab/Jupyter Notebook 7+ extension providing user interface integration for real time collaboration";
|
|
homepage = "https://github.com/jupyterlab/jupyter-collaboration/tree/main/projects/jupyter-collaboration-ui";
|
|
license = lib.licenses.bsd3;
|
|
teams = [ lib.teams.jupyter ];
|
|
};
|
|
})
|