7e47f3658e
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
75 lines
1.3 KiB
Nix
75 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pythonOlder,
|
|
setuptools,
|
|
click,
|
|
docutils,
|
|
itsdangerous,
|
|
jedi,
|
|
markdown,
|
|
packaging,
|
|
psutil,
|
|
pygments,
|
|
pymdown-extensions,
|
|
ruff,
|
|
starlette,
|
|
tomlkit,
|
|
uvicorn,
|
|
websockets,
|
|
pyyaml,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "marimo";
|
|
version = "0.8.18";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-7gAxD1N2z80qDtC2PrijuJwO/UdgAGvpryYjwEoUTMo=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
# ruff is not packaged as a python module in nixpkgs
|
|
pythonRemoveDeps = [ "ruff" ];
|
|
|
|
dependencies = [
|
|
click
|
|
docutils
|
|
itsdangerous
|
|
jedi
|
|
markdown
|
|
packaging
|
|
psutil
|
|
pygments
|
|
pymdown-extensions
|
|
ruff
|
|
starlette
|
|
tomlkit
|
|
uvicorn
|
|
websockets
|
|
pyyaml
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "marimo" ];
|
|
|
|
meta = with lib; {
|
|
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 = licenses.asl20;
|
|
mainProgram = "marimo";
|
|
maintainers = with maintainers; [
|
|
akshayka
|
|
dmadisetti
|
|
];
|
|
};
|
|
}
|