Something went wrong. Try again.
lol
Something went wrong. Try again.
2.3 kB · 122 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123{ lib, buildPythonPackage, fetchFromGitHub,
# build-system hatchling, setuptools,
# dependencies aenum, aiohttp, fastjsonschema, flatlatex, fsspec, imagesize, ipykernel, jupyter-client, jupytext, linkify-it-py, markdown-it-py, mdit-py-plugins, nbformat, pillow, platformdirs, prompt-toolkit, pygments, pyperclip, python-code-minimap, sixelcrop, timg, typing-extensions, universal-pathlib,
# tests html2text, pytest-asyncio, pytest-cov-stub, pytestCheckHook, python-magic, writableTmpDirAsHomeHook,}:
buildPythonPackage (finalAttrs: { pname = "euporie"; version = "2.10.4"; pyproject = true;
src = fetchFromGitHub { owner = "joouha"; repo = "euporie"; tag = "v${finalAttrs.version}"; hash = "sha256-JzCVpI1O+KM+V4fLw+vwAsFbUK5SXZvAZWffzojU0u0="; };
build-system = [ hatchling setuptools ];
pythonRelaxDeps = [ "markdown-it-py" "mdit-py-plugins" "platformdirs" "universal-pathlib" ]; dependencies = [ aenum aiohttp fastjsonschema flatlatex fsspec imagesize ipykernel jupyter-client jupytext linkify-it-py markdown-it-py mdit-py-plugins nbformat pillow platformdirs prompt-toolkit pygments pyperclip python-code-minimap sixelcrop timg typing-extensions universal-pathlib ];
nativeCheckInputs = [ html2text pytest-asyncio pytest-cov-stub pytestCheckHook python-magic writableTmpDirAsHomeHook ];
meta = { description = "Jupyter notebooks in the terminal"; longDescription = '' Similar to `jupyter lab` or `jupyter notebook`, This package can only be used inside a python environment. To quickly summon a python environment with euporie, you can use: ``` nix-shell -p 'python3.withPackages (ps: with ps; [ euporie ])' ``` ''; homepage = "https://euporie.readthedocs.io/"; downloadPage = "https://github.com/joouha/euporie"; changelog = "https://github.com/joouha/euporie/blob/${finalAttrs.src.tag}/CHANGELOG.rst"; license = lib.licenses.mit; mainProgram = "euporie"; maintainers = with lib.maintainers; [ euxane renesat ]; };})