depot/third_party/nixpkgs/pkgs/development/python-modules/marimo/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

70 lines
1.2 KiB
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
black,
click,
docutils,
itsdangerous,
jedi,
markdown,
psutil,
pygments,
pymdown-extensions,
starlette,
tomlkit,
uvicorn,
websockets,
pyyaml,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "marimo";
version = "0.6.13";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-eXESKW3bZ4K5umF2UOGe98UstzGUhy6/k1VakGAWV6w=";
};
build-system = [ setuptools ];
dependencies = [
black
click
docutils
itsdangerous
jedi
markdown
psutil
pygments
pymdown-extensions
starlette
tomlkit
uvicorn
websockets
pyyaml
];
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
];
};
}