Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 60 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061{ lib, buildPythonPackage, fetchFromGitHub,
# build-system hatch-nodejs-version, hatchling,
# dependencies anyio, pycrdt,
# tests pycrdt-websocket, pytestCheckHook, websockets,}:
buildPythonPackage (finalAttrs: { pname = "jupyter-ydoc"; version = "3.4.1"; pyproject = true;
src = fetchFromGitHub { owner = "jupyter-server"; repo = "jupyter_ydoc"; tag = "v${finalAttrs.version}"; hash = "sha256-HlYSPlYiHyVwJhsRY10SgotKa9ejlj0hlxbS+chtaBI="; };
build-system = [ hatch-nodejs-version hatchling ];
dependencies = [ anyio pycrdt ];
pythonImportsCheck = [ "jupyter_ydoc" ];
nativeCheckInputs = [ pytestCheckHook pycrdt-websocket websockets ];
# requires a Node.js environment doCheck = false;
meta = { changelog = "https://github.com/jupyter-server/jupyter_ydoc/blob/${finalAttrs.src.tag}/CHANGELOG.md"; description = "Document structures for collaborative editing using Yjs/pycrdt"; homepage = "https://github.com/jupyter-server/jupyter_ydoc"; license = lib.licenses.bsd3; teams = [ lib.teams.jupyter ]; };})