nixpkgs/pkgs/development/python-modules/marimo/default.nix
2024-04-20 12:28:35 +00:00

67 lines
1.1 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.4.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-wFDx90zTaPF9gHLZnWBJQlMBuz8iZQRHkcS8BAxcZRA=";
};
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 ];
};
}