11 pname = "jitsi-excalidraw-backend";
14 src = fetchFromGitHub {
16 repo = "excalidraw-backend";
18 hash = "sha256-52LU5I2pNjSb9+nJjiczp/dLWRTwQDC+thyGXBvkBBA=";
21 npmDepsHash = "sha256-BJqjaqTeg5i+ECGMuiBYVToK2i2XCOVP9yeDFz6nP4k=";
23 nativeBuildInputs = [ python3 ];
27 cp -r {node_modules,dist} $out/share
31 makeWrapper ${nodejs}/bin/node $out/bin/jitsi-excalidraw-backend \
32 --add-flags dist/index.js \
36 passthru.updateScript = nix-update-script { };
39 description = "Excalidraw collaboration backend for Jitsi";
40 homepage = "https://github.com/jitsi/excalidraw-backend";
41 license = licenses.mit;
42 maintainers = with maintainers; [ camillemndn ];
43 mainProgram = "jitsi-excalidraw-backend";