Commit bee3dc5d authored by Kirill Radzikhovskyy's avatar Kirill Radzikhovskyy
Browse files

orca-slicer: nixfmt-for-rfc

parent 133bd6a5
Loading
Loading
Loading
Loading
+31 −23
Original line number Diff line number Diff line
{ lib, fetchFromGitHub, makeDesktopItem, bambu-studio }:
{
  lib,
  fetchFromGitHub,
  bambu-studio,
}:

bambu-studio.overrideAttrs (finalAttrs: previousAttrs: {
bambu-studio.overrideAttrs (
  finalAttrs: previousAttrs: {
    version = "2.0.0";
    pname = "orca-slicer";

    # Don't inherit patches from bambu-studio
  patches = [
    ./0001-not-for-upstream-CMakeLists-Link-against-webkit2gtk-.patch
  ];
    patches = [ ./0001-not-for-upstream-CMakeLists-Link-against-webkit2gtk-.patch ];

    src = fetchFromGitHub {
      owner = "SoftFever";
@@ -20,8 +23,13 @@ bambu-studio.overrideAttrs (finalAttrs: previousAttrs: {
      description = "G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc";
      homepage = "https://github.com/SoftFever/OrcaSlicer";
      license = licenses.agpl3Only;
    maintainers = with maintainers; [ zhaofengli ovlach pinpox ];
      maintainers = with maintainers; [
        zhaofengli
        ovlach
        pinpox
      ];
      mainProgram = "orca-slicer";
      platforms = platforms.linux;
    };
})
  }
)