Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.7 kB · 92 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293{ lib, buildPythonPackage, fetchPypi, pythonOlder,
# build-system hatchling,
# dependencies click, docutils, itsdangerous, jedi, markdown, narwhals, packaging, psutil, pycrdt, pygments, pymdown-extensions, pyyaml, ruff, starlette, tomlkit, typing-extensions, uvicorn, websockets,
# tests versionCheckHook,}:
buildPythonPackage rec { pname = "marimo"; version = "0.13.6"; pyproject = true;
# The github archive does not include the static assets src = fetchPypi { inherit pname version; hash = "sha256-Qsz0SJvWOJ/MH9eIMyBODCBCGC7vp2lzPsq+32tRKU8="; };
build-system = [ hatchling ];
pythonRelaxDeps = [ "pycrdt" "websockets" ];
dependencies = [ click docutils itsdangerous jedi markdown narwhals packaging psutil pycrdt pygments pymdown-extensions pyyaml ruff starlette tomlkit uvicorn websockets ] ++ lib.optionals (pythonOlder "3.11") [ typing-extensions ];
pythonImportsCheck = [ "marimo" ];
# The pypi archive does not contain tests so we do not use `pytestCheckHook` nativeCheckInputs = [ versionCheckHook ]; versionCheckProgramArg = "--version";
meta = { 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 = lib.licenses.asl20; mainProgram = "marimo"; maintainers = with lib.maintainers; [ akshayka dmadisetti ]; };}