7 bambu-studio.overrideAttrs (
8 finalAttrs: previousAttrs: {
10 pname = "orca-slicer";
12 src = fetchFromGitHub {
15 rev = "v${finalAttrs.version}";
16 hash = "sha256-7fusdSYpZb4sYl5L/+81PzMd42Nsejj+kCZsq0f7eIk=";
22 # FIXME: only required for 2.1.1, can be removed in the next version
23 ./0002-fix-build-for-gcc-13.diff
25 ./dont-link-opencv-world.patch
29 previousAttrs.buildInputs
36 # Fixes blackscreen dialogs
37 --set WEBKIT_DISABLE_COMPOSITING_MODE 1
41 # needed to prevent collisions between the LICENSE.txt files of
42 # bambu-studio and orca-slicer.
44 mv $out/LICENSE.txt $out/share/OrcaSlicer/LICENSE.txt
48 description = "G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.)";
49 homepage = "https://github.com/SoftFever/OrcaSlicer";
50 license = licenses.agpl3Only;
51 maintainers = with maintainers; [
56 mainProgram = "orca-slicer";
57 platforms = platforms.linux;