nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at gcc-offload 55 lines 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 6 # build-system 7 hatch-nodejs-version, 8 hatchling, 9 10 # dependencies 11 pycrdt, 12 pytestCheckHook, 13 14 # tests 15 websockets, 16 ypy-websocket, 17}: 18 19buildPythonPackage rec { 20 pname = "jupyter-ydoc"; 21 version = "3.0.2"; 22 pyproject = true; 23 24 src = fetchPypi { 25 pname = "jupyter_ydoc"; 26 inherit version; 27 hash = "sha256-1fHVvD7JV55YdGlJbNM9bypp4Y50Mp4TDCMUELocMdA="; 28 }; 29 30 build-system = [ 31 hatch-nodejs-version 32 hatchling 33 ]; 34 35 dependencies = [ pycrdt ]; 36 37 pythonImportsCheck = [ "jupyter_ydoc" ]; 38 39 nativeCheckInputs = [ 40 pytestCheckHook 41 websockets 42 ypy-websocket 43 ]; 44 45 # requires a Node.js environment 46 doCheck = false; 47 48 meta = { 49 changelog = "https://github.com/jupyter-server/jupyter_ydoc/blob/v${version}/CHANGELOG.md"; 50 description = "Document structures for collaborative editing using Ypy"; 51 homepage = "https://github.com/jupyter-server/jupyter_ydoc"; 52 license = lib.licenses.bsd3; 53 maintainers = lib.teams.jupyter.members; 54 }; 55}