Files
nixpkgs/pkgs/development/python-modules/marimo/default.nix
T
Martin Weinelt 5ba5547e49 python3Packages.marimo: 0.13.6 -> 0.14.16
https://github.com/marimo-team/marimo/releases/tag/0.14.16

This commit was automatically generated using update-python-libraries.
2025-08-09 19:01:42 +02:00

93 lines
1.6 KiB
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
# build-system
hatchling,
# dependencies
click,
docutils,
itsdangerous,
jedi,
markdown,
narwhals,
packaging,
psutil,
pycrdt,
pygments,
pymdown-extensions,
pyyaml,
ruff,
starlette,
tomlkit,
typing-extensions,
uvicorn,
websockets,
# tests
versionCheckHook,
}:
buildPythonPackage rec {
pname = "marimo";
version = "0.14.16";
pyproject = true;
# The github archive does not include the static assets
src = fetchPypi {
inherit pname version;
hash = "sha256-8PKRrH+m+HyAcvQBnG6fY1rX77N+AhTyJUPI3ZgwQtE=";
};
build-system = [ hatchling ];
pythonRelaxDeps = [
"pycrdt"
"websockets"
];
dependencies = [
click
docutils
itsdangerous
jedi
markdown
narwhals
packaging
psutil
pycrdt
pygments
pymdown-extensions
pyyaml
ruff
starlette
tomlkit
uvicorn
websockets
]
++ lib.optionals (pythonOlder "3.11") [ typing-extensions ];
pythonImportsCheck = [ "marimo" ];
# The pypi archive does not contain tests so we do not use `pytestCheckHook`
nativeCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = "--version";
meta = {
description = "Reactive Python notebook that's reproducible, git-friendly, and deployable as scripts or apps";
homepage = "https://github.com/marimo-team/marimo";
changelog = "https://github.com/marimo-team/marimo/releases/tag/${version}";
license = lib.licenses.asl20;
mainProgram = "marimo";
maintainers = with lib.maintainers; [
akshayka
dmadisetti
];
};
}