nixpkgs/pkgs/development/python-modules/marimo/default.nix
2024-03-22 01:58:31 +00:00

66 lines
1.0 KiB
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools
, click
, jedi
, markdown
, pymdown-extensions
, pygments
, tomlkit
, uvicorn
, starlette
, websockets
, docutils
, black
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "marimo";
version = "0.3.4";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-nCH8JmeU81aJHHGJ1DOOCL9iarBXTBGauQKyHpU66Rk=";
};
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";
license = licenses.asl20;
mainProgram = "marimo";
maintainers = with maintainers; [ akshayka dmadisetti ];
};
}