From c30c48bc5f64f3cc119f50ce4b8029624459446c Mon Sep 17 00:00:00 2001 From: Tarinaky Date: Sun, 30 Mar 2025 22:56:36 +0100 Subject: [PATCH 1/2] maintainers: add tarinaky --- maintainers/maintainer-list.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 97dd67dc0acf..507501afd480 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -22628,6 +22628,11 @@ githubId = 506181; name = "Peter Marheine"; }; + tarinaky = { + github = "Tarinaky"; + githubId = 186027; + name = "Tarinaky"; + }; tasmo = { email = "tasmo@tasmo.de"; github = "tasmo"; From f7b90766f1397a4b4eb685e6ed08ec0001ac9b83 Mon Sep 17 00:00:00 2001 From: Tarinaky Date: Sun, 2 Feb 2025 15:05:08 +0000 Subject: [PATCH 2/2] LycheeSlicer: init at 7.3.1 --- pkgs/by-name/ly/LycheeSlicer/package.nix | 54 ++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 pkgs/by-name/ly/LycheeSlicer/package.nix diff --git a/pkgs/by-name/ly/LycheeSlicer/package.nix b/pkgs/by-name/ly/LycheeSlicer/package.nix new file mode 100644 index 000000000000..044d22cff5df --- /dev/null +++ b/pkgs/by-name/ly/LycheeSlicer/package.nix @@ -0,0 +1,54 @@ +{ + appimageTools, + fetchurl, + makeDesktopItem, + lib, + xorg, +}: +let + pname = "LycheeSlicer"; + version = "7.3.1"; + + src = fetchurl { + url = "https://mango-lychee.nyc3.cdn.digitaloceanspaces.com/LycheeSlicer-${version}.AppImage"; + hash = "sha256-21ySVT2Un/WAWxvEAH5GfrumGbsSaeNVjaMsL9mYwsg="; + }; + + desktopItem = makeDesktopItem { + name = "Lychee Slicer"; + genericName = "Resin Slicer"; + comment = "All-in-one 3D slicer for Resin and Filament"; + desktopName = "Lychee"; + noDisplay = false; + exec = "lychee"; + terminal = false; + mimeTypes = [ "model/stl" ]; + categories = [ "Graphics" ]; + keywords = [ + "STL" + "Slicer" + "Printing" + ]; + }; + +in +appimageTools.wrapType2 { + inherit pname version src; + + extraInstallCommands = '' + install -Dm444 -t $out/share/applications ${desktopItem}/share/applications/* + ''; + + buildInputs = [ + xorg.libxshmfence + ]; + + meta = { + description = "All-in-one 3D slicer for resin and FDM printers"; + homepage = "https://lychee.mango3d.io/"; + license = lib.licenses.unfree; + maintainers = with lib.maintainers; [ tarinaky ]; + platforms = [ "x86_64-linux" ]; + mainProgram = "lychee"; + }; +}