10 src = fetchFromGitHub {
11 owner = "mainsail-crew";
14 hash = "sha256-ZRs+KhHNQIGXy/3MUNM5OUuWSntfjYsW3d0OOvuvdAQ=";
17 npmDepsHash = "sha256-du1X58wUTelgJO/0JYwxfHjjNpu1e4M1GDvx6tgz8Zw=";
19 # Prevent Cypress binary download.
20 CYPRESS_INSTALL_BINARY = 0;
23 # Make the build.zip target do nothing, since we will just copy these files later.
24 sed -e 's/"build.zip":.*,$/"build.zip": "",/g' -i package.json
31 cp -r ./dist $out/share/mainsail
37 description = "Web interface for managing and controlling 3D printers with Klipper";
38 homepage = "https://docs.mainsail.xyz";
39 changelog = "https://github.com/mainsail-crew/mainsail/releases/tag/v${version}";
40 license = licenses.gpl3Plus;
41 platforms = platforms.linux;
42 maintainers = with maintainers; [ shhht lovesegfault wulfsta ];