Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 56 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ lib, buildPythonPackage, fetchFromGitHub,
# build-system hatch-nodejs-version, hatchling,
# dependencies pycrdt, pytestCheckHook,
# tests websockets, ypy-websocket,}:
buildPythonPackage rec { pname = "jupyter-ydoc"; version = "3.1.0"; pyproject = true;
src = fetchFromGitHub { owner = "jupyter-server"; repo = "jupyter_ydoc"; tag = "v${version}"; hash = "sha256-AI/Ml1MgMFaclJxuHbZMXT8Cf531tzX0uaWPVg6SgMM="; };
build-system = [ hatch-nodejs-version hatchling ];
dependencies = [ pycrdt ];
pythonImportsCheck = [ "jupyter_ydoc" ];
nativeCheckInputs = [ pytestCheckHook websockets ypy-websocket ];
# requires a Node.js environment doCheck = false;
meta = { changelog = "https://github.com/jupyter-server/jupyter_ydoc/blob/${src.tag}/CHANGELOG.md"; description = "Document structures for collaborative editing using Ypy"; homepage = "https://github.com/jupyter-server/jupyter_ydoc"; license = lib.licenses.bsd3; teams = [ lib.teams.jupyter ]; };}