mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
LycheeSlicer: init at 7.3.1 (#378845)
This commit is contained in:
commit
8486d69b36
2 changed files with 59 additions and 0 deletions
|
@ -23472,6 +23472,11 @@
|
||||||
githubId = 506181;
|
githubId = 506181;
|
||||||
name = "Peter Marheine";
|
name = "Peter Marheine";
|
||||||
};
|
};
|
||||||
|
tarinaky = {
|
||||||
|
github = "Tarinaky";
|
||||||
|
githubId = 186027;
|
||||||
|
name = "Tarinaky";
|
||||||
|
};
|
||||||
tasmo = {
|
tasmo = {
|
||||||
email = "tasmo@tasmo.de";
|
email = "tasmo@tasmo.de";
|
||||||
github = "tasmo";
|
github = "tasmo";
|
||||||
|
|
54
pkgs/by-name/ly/LycheeSlicer/package.nix
Normal file
54
pkgs/by-name/ly/LycheeSlicer/package.nix
Normal file
|
@ -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";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue