Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.6 kB · 91 lines
Nix
at flake-libs
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192{ 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 ]; };}