{jupyterlite,python3Packages.jupyterlite-core}: init at 0.7.6

Assisted-By: nix-init
This commit is contained in:
eljamm
2026-06-18 16:09:34 +02:00
parent 7139c17ef8
commit 761f926631
3 changed files with 60 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
{ python3Packages }:
python3Packages.toPythonApplication python3Packages.jupyterlite-core
@@ -0,0 +1,55 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
hatchling,
# dependencies
doit,
jupyter-core,
pycparser,
}:
buildPythonPackage (finalAttrs: {
pname = "jupyterlite-core";
version = "0.7.6";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "jupyterlite";
repo = "jupyterlite";
tag = "v${finalAttrs.version}";
hash = "sha256-TSy0GUI/7NLsLOayBwZ/raTtOtFgs/t4v1ByytVG960=";
};
sourceRoot = "${finalAttrs.src.name}/py/jupyterlite-core";
build-system = [
hatchling
];
dependencies = [
doit
jupyter-core
pycparser
];
# upstream has no tests
doCheck = false;
pythonImportsCheck = [
"jupyterlite_core"
];
meta = {
description = "Wasm powered Jupyter running in the browser";
homepage = "https://github.com/jupyterlite/jupyterlite";
changelog = "https://github.com/jupyterlite/jupyterlite/blob/${finalAttrs.src.rev}/CHANGELOG.md";
mainProgram = "jupyter-lite";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ eljamm ];
};
})
+2
View File
@@ -8311,6 +8311,8 @@ self: super: with self; {
jupyterlab-widgets = callPackage ../development/python-modules/jupyterlab-widgets { };
jupyterlite-core = callPackage ../development/python-modules/jupyterlite-core { };
jupytext = callPackage ../development/python-modules/jupytext { };
justbackoff = callPackage ../development/python-modules/justbackoff { };