{jupyterlite,python3Packages.jupyterlite-core}: init at 0.7.6
Assisted-By: nix-init
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user