Files
2026-08-14 11:56:55 +02:00

57 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
hatchling,
# dependencies
doit,
jupyter-core,
pycparser,
}:
buildPythonPackage (finalAttrs: {
pname = "jupyterlite-core";
version = "0.8.0";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "jupyterlite";
repo = "jupyterlite";
tag = "v${finalAttrs.version}";
hash = "sha256-LERWOeOvGdefbgQxbA8GAFZq1OD/Hhl2Q9hNVCS3Et4=";
};
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 ];
teams = with lib.teams; [ ngi ];
};
})