orca-slicer: nixfmt-for-rfc

This commit is contained in:
Kirill Radzikhovskyy 2024-04-24 06:20:57 +10:00
parent 133bd6a536
commit bee3dc5dc6
1 changed files with 31 additions and 23 deletions

View File

@ -1,27 +1,35 @@
{ lib, fetchFromGitHub, makeDesktopItem, bambu-studio }:
{
lib,
fetchFromGitHub,
bambu-studio,
}:
bambu-studio.overrideAttrs (finalAttrs: previousAttrs: {
version = "2.0.0";
pname = "orca-slicer";
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
];
# Don't inherit patches from bambu-studio
patches = [ ./0001-not-for-upstream-CMakeLists-Link-against-webkit2gtk-.patch ];
src = fetchFromGitHub {
owner = "SoftFever";
repo = "OrcaSlicer";
rev = "v${finalAttrs.version}";
hash = "sha256-YlLDUH3ODIfax5QwnsVJi1JjZ9WtxP3ssqRP1C4d4bw=";
};
src = fetchFromGitHub {
owner = "SoftFever";
repo = "OrcaSlicer";
rev = "v${finalAttrs.version}";
hash = "sha256-YlLDUH3ODIfax5QwnsVJi1JjZ9WtxP3ssqRP1C4d4bw=";
};
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;
};
})
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;
};
}
)