mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
python312Packages.jupyter-docprovider: init at 1.0.0
https://github.com/jupyterlab/jupyter-collaboration/tree/main/projects/jupyter-docprovider
This commit is contained in:
parent
ab133a3158
commit
3e566da3a7
@ -0,0 +1,44 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildPythonPackage,
|
||||||
|
fetchPypi,
|
||||||
|
hatchling,
|
||||||
|
hatch-jupyter-builder,
|
||||||
|
jupyter-collaboration,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "jupyter-docprovider";
|
||||||
|
version = "1.0.0";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
pname = "jupyter_docprovider";
|
||||||
|
inherit version;
|
||||||
|
hash = "sha256-EcO3GqdbhRxawHwfSnjOHfFmYjpZy2NuuGc5CSW/xlY=";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace pyproject.toml \
|
||||||
|
--replace-fail ', "jupyterlab>=4.0.0"' ""
|
||||||
|
'';
|
||||||
|
|
||||||
|
build-system = [
|
||||||
|
hatchling
|
||||||
|
hatch-jupyter-builder
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "jupyter_docprovider" ];
|
||||||
|
|
||||||
|
# no tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
passthru.tests = jupyter-collaboration.tests;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "JupyterLab/Jupyter Notebook 7+ extension integrating collaborative shared models";
|
||||||
|
homepage = "https://github.com/jupyterlab/jupyter-collaboration/tree/main/projects/jupyter-docprovider";
|
||||||
|
license = lib.licenses.bsd3;
|
||||||
|
maintainers = lib.teams.jupyter.members;
|
||||||
|
};
|
||||||
|
}
|
@ -6642,6 +6642,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
jupyter-core = callPackage ../development/python-modules/jupyter-core { };
|
jupyter-core = callPackage ../development/python-modules/jupyter-core { };
|
||||||
|
|
||||||
|
jupyter-docprovider = callPackage ../development/python-modules/jupyter-docprovider { };
|
||||||
|
|
||||||
jupyter-events = callPackage ../development/python-modules/jupyter-events { };
|
jupyter-events = callPackage ../development/python-modules/jupyter-events { };
|
||||||
|
|
||||||
jupyter-highlight-selected-word = callPackage ../development/python-modules/jupyter-highlight-selected-word { };
|
jupyter-highlight-selected-word = callPackage ../development/python-modules/jupyter-highlight-selected-word { };
|
||||||
|
Loading…
Reference in New Issue
Block a user