2024-04-21 15:54:59 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
, setuptools
|
|
|
|
, click
|
|
|
|
, jedi
|
|
|
|
, markdown
|
|
|
|
, pymdown-extensions
|
|
|
|
, pygments
|
|
|
|
, tomlkit
|
|
|
|
, uvicorn
|
|
|
|
, starlette
|
|
|
|
, websockets
|
|
|
|
, docutils
|
|
|
|
, black
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "marimo";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "0.4.10";
|
2024-04-21 15:54:59 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-F6Hf8KPIkXuRhO/1mVHE1wfU6//vbUK1ghoqANmZjag=";
|
2024-04-21 15:54:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
build-system = [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
click
|
|
|
|
jedi
|
|
|
|
markdown
|
|
|
|
pymdown-extensions
|
|
|
|
pygments
|
|
|
|
tomlkit
|
|
|
|
uvicorn
|
|
|
|
starlette
|
|
|
|
websockets
|
|
|
|
docutils
|
|
|
|
black
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeCheckInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"marimo"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A 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 = licenses.asl20;
|
|
|
|
mainProgram = "marimo";
|
|
|
|
maintainers = with maintainers; [ akshayka dmadisetti ];
|
|
|
|
};
|
|
|
|
}
|