6 bambu-studio.overrideAttrs (
7 finalAttrs: previousAttrs: {
11 src = fetchFromGitHub {
14 rev = "v${finalAttrs.version}";
15 hash = "sha256-h+cHWhrp894KEbb3ic2N4fNTn13WlOSYoMsaof0RvRI=";
19 # Fix for webkitgtk linking
20 ./patches/0001-not-for-upstream-CMakeLists-Link-against-webkit2gtk-.patch
22 ./patches/dont-link-opencv-world-orca.patch
27 # Fixes blackscreen dialogs
28 --set WEBKIT_DISABLE_COMPOSITING_MODE 1
32 # needed to prevent collisions between the LICENSE.txt files of
33 # bambu-studio and orca-slicer.
35 mv $out/LICENSE.txt $out/share/OrcaSlicer/LICENSE.txt
39 description = "G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.)";
40 homepage = "https://github.com/SoftFever/OrcaSlicer";
41 license = licenses.agpl3Only;
42 maintainers = with maintainers; [
47 mainProgram = "orca-slicer";
48 platforms = platforms.linux;