orca-slicer: Fix build by not inheriting patches from bambu-studio

This commit is contained in:
adisbladis 2024-03-18 20:38:33 +13:00
parent 07d4efd5ca
commit 7ca1c0f943

View File

@ -1,24 +1,27 @@
{ lib, fetchFromGitHub, makeDesktopItem, bambu-studio }: { lib, fetchFromGitHub, makeDesktopItem, bambu-studio }:
let
orca-slicer = bambu-studio.overrideAttrs (finalAttrs: previousAttrs: {
version = "1.9.1";
pname = "orca-slicer";
src = fetchFromGitHub { bambu-studio.overrideAttrs (finalAttrs: previousAttrs: {
owner = "SoftFever"; version = "1.9.1";
repo = "OrcaSlicer"; pname = "orca-slicer";
rev = "v${finalAttrs.version}";
hash = "sha256-+JYUpyEr3xraJEb1wDkyle+jAQiNE+AMUTT1fhh4Clw=";
};
meta = with lib; { # Don't inherit patches from bambu-studio
description = "G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc"; patches = [
homepage = "https://github.com/SoftFever/OrcaSlicer"; ./0001-not-for-upstream-CMakeLists-Link-against-webkit2gtk-.patch
license = licenses.agpl3Only; ];
maintainers = with maintainers; [ zhaofengli ovlach pinpox ];
mainProgram = "orca-slicer"; src = fetchFromGitHub {
platforms = platforms.linux; owner = "SoftFever";
}; repo = "OrcaSlicer";
}); rev = "v${finalAttrs.version}";
in hash = "sha256-+JYUpyEr3xraJEb1wDkyle+jAQiNE+AMUTT1fhh4Clw=";
orca-slicer };
meta = with lib; {
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 ];
mainProgram = "orca-slicer";
platforms = platforms.linux;
};
})