1 { appimageTools, lib, fetchurl, makeDesktopItem }:
7 desktopItem = makeDesktopItem {
11 comment = "Minecraft 1.7, 1.8, 1.12, 1.15, 1.16, 1.17, and 1.18 Client";
12 desktopName = "Lunar Client";
13 genericName = "Minecraft Client";
14 categories = [ "Game" ];
17 appimageContents = appimageTools.extract {
22 url = "https://launcherupdates.lunarclientcdn.com/Lunar%20Client-${version}.AppImage";
23 name = "lunar-client.AppImage";
24 hash = "sha256-3h2FFpIIRta6hEsa/H0xo8+DUvhdQyBv9dqdd/vlwZ4=";
27 appimageTools.wrapType1 rec {
30 extraInstallCommands = ''
31 mkdir -p $out/share/applications
32 cp ${desktopItem}/share/applications/* $out/share/applications
33 cp -r ${appimageContents}/usr/share/icons/ $out/share/
36 extraPkgs = pkgs: [ pkgs.libpulseaudio ];
39 description = "Minecraft 1.7, 1.8, 1.12, 1.15, 1.16, 1.17, and 1.18 Client";
40 homepage = "https://www.lunarclient.com/";
41 license = with licenses; [ unfree ];
42 maintainers = with maintainers; [ zyansheep Technical27 ];
43 platforms = [ "x86_64-linux" ];