uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
45
pkgs/games/lunar-client/default.nix
Normal file
45
pkgs/games/lunar-client/default.nix
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{ appimageTools, lib, fetchurl, makeDesktopItem }:
|
||||
|
||||
let
|
||||
name = "lunar-client";
|
||||
version = "2.10.0";
|
||||
|
||||
desktopItem = makeDesktopItem {
|
||||
name = "lunar-client";
|
||||
exec = "lunar-client";
|
||||
icon = "lunarclient";
|
||||
comment = "Minecraft 1.7, 1.8, 1.12, 1.15, 1.16, 1.17, and 1.18 Client";
|
||||
desktopName = "Lunar Client";
|
||||
genericName = "Minecraft Client";
|
||||
categories = [ "Game" ];
|
||||
};
|
||||
|
||||
appimageContents = appimageTools.extract {
|
||||
inherit name src;
|
||||
};
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://launcherupdates.lunarclientcdn.com/Lunar%20Client-${version}.AppImage";
|
||||
name = "lunar-client.AppImage";
|
||||
sha256 = "1kfi3rgy401ll3gn9k30j0a1zds1ghl5g2ibfwlsnr826nckfmzw";
|
||||
};
|
||||
in
|
||||
appimageTools.wrapType1 rec {
|
||||
inherit name src;
|
||||
|
||||
extraInstallCommands = ''
|
||||
mkdir -p $out/share/applications
|
||||
cp ${desktopItem}/share/applications/* $out/share/applications
|
||||
cp -r ${appimageContents}/usr/share/icons/ $out/share/
|
||||
'';
|
||||
|
||||
extraPkgs = pkgs: [ pkgs.libpulseaudio ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Minecraft 1.7, 1.8, 1.12, 1.15, 1.16, 1.17, and 1.18 Client";
|
||||
homepage = "https://www.lunarclient.com/";
|
||||
license = with licenses; [ unfree ];
|
||||
maintainers = with maintainers; [ zyansheep Technical27 ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue