Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
57 lines
1.0 KiB
Nix
57 lines
1.0 KiB
Nix
{
|
|
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 ];
|
|
};
|
|
}
|