2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pythonOlder,
|
|
|
|
setuptools,
|
|
|
|
click,
|
|
|
|
docutils,
|
|
|
|
itsdangerous,
|
|
|
|
jedi,
|
|
|
|
markdown,
|
2024-07-27 06:49:29 +00:00
|
|
|
packaging,
|
2024-06-05 15:53:02 +00:00
|
|
|
psutil,
|
|
|
|
pygments,
|
|
|
|
pymdown-extensions,
|
2024-07-27 06:49:29 +00:00
|
|
|
ruff,
|
2024-06-05 15:53:02 +00:00
|
|
|
starlette,
|
|
|
|
tomlkit,
|
|
|
|
uvicorn,
|
|
|
|
websockets,
|
|
|
|
pyyaml,
|
|
|
|
pytestCheckHook,
|
2024-04-21 15:54:59 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "marimo";
|
2024-07-31 10:19:44 +00:00
|
|
|
version = "0.7.12";
|
2024-04-21 15:54:59 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-07-31 10:19:44 +00:00
|
|
|
hash = "sha256-YrxxqFLSNF5KZV8dDUnr6VT4r5ECErOfguQSCdAsgO4=";
|
2024-04-21 15:54:59 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
build-system = [ setuptools ];
|
2024-04-21 15:54:59 +00:00
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
# ruff is not packaged as a python module in nixpkgs
|
|
|
|
pythonRemoveDeps = [ "ruff" ];
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
dependencies = [
|
|
|
|
click
|
2024-06-05 15:53:02 +00:00
|
|
|
docutils
|
|
|
|
itsdangerous
|
2024-04-21 15:54:59 +00:00
|
|
|
jedi
|
|
|
|
markdown
|
2024-07-27 06:49:29 +00:00
|
|
|
packaging
|
2024-06-05 15:53:02 +00:00
|
|
|
psutil
|
2024-04-21 15:54:59 +00:00
|
|
|
pygments
|
2024-06-05 15:53:02 +00:00
|
|
|
pymdown-extensions
|
2024-07-27 06:49:29 +00:00
|
|
|
ruff
|
2024-06-05 15:53:02 +00:00
|
|
|
starlette
|
2024-04-21 15:54:59 +00:00
|
|
|
tomlkit
|
|
|
|
uvicorn
|
|
|
|
websockets
|
2024-06-05 15:53:02 +00:00
|
|
|
pyyaml
|
2024-04-21 15:54:59 +00:00
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2024-04-21 15:54:59 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "marimo" ];
|
2024-04-21 15:54:59 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Reactive Python notebook that's reproducible, git-friendly, and deployable as scripts or apps";
|
2024-04-21 15:54:59 +00:00
|
|
|
homepage = "https://github.com/marimo-team/marimo";
|
|
|
|
changelog = "https://github.com/marimo-team/marimo/releases/tag/${version}";
|
|
|
|
license = licenses.asl20;
|
|
|
|
mainProgram = "marimo";
|
2024-06-05 15:53:02 +00:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
akshayka
|
|
|
|
dmadisetti
|
|
|
|
];
|
2024-04-21 15:54:59 +00:00
|
|
|
};
|
|
|
|
}
|