scarab: format with nixfmt

This commit is contained in:
huantian 2024-10-02 21:55:31 -07:00
parent 4d67e9b5b5
commit 718581f55b
No known key found for this signature in database
GPG Key ID: 4A0318E04E555DE5

View File

@ -1,13 +1,14 @@
{ lib {
, buildDotnetModule lib,
, fetchFromGitHub buildDotnetModule,
, glibc fetchFromGitHub,
, zlib glibc,
, gtk3 zlib,
, copyDesktopItems gtk3,
, icoutils copyDesktopItems,
, wrapGAppsHook3 icoutils,
, makeDesktopItem wrapGAppsHook3,
makeDesktopItem,
}: }:
buildDotnetModule rec { buildDotnetModule rec {
@ -58,26 +59,28 @@ buildDotnetModule rec {
done done
''; '';
desktopItems = [(makeDesktopItem { desktopItems = [
desktopName = "Scarab"; (makeDesktopItem {
name = "scarab"; desktopName = "Scarab";
exec = "Scarab"; name = "scarab";
icon = "scarab"; exec = "Scarab";
comment = meta.description; icon = "scarab";
type = "Application"; comment = meta.description;
categories = [ "Game" ]; type = "Application";
})]; categories = [ "Game" ];
})
];
passthru.updateScript = ./update.sh; passthru.updateScript = ./update.sh;
meta = with lib; { meta = {
description = "Hollow Knight mod installer and manager"; description = "Hollow Knight mod installer and manager";
homepage = "https://github.com/fifty-six/Scarab"; homepage = "https://github.com/fifty-six/Scarab";
downloadPage = "https://github.com/fifty-six/Scarab/releases"; downloadPage = "https://github.com/fifty-six/Scarab/releases";
changelog = "https://github.com/fifty-six/Scarab/releases/tag/v${version}"; changelog = "https://github.com/fifty-six/Scarab/releases/tag/v${version}";
license = licenses.gpl3Only; license = lib.licenses.gpl3Only;
maintainers = with maintainers; [ huantian ]; maintainers = with lib.maintainers; [ huantian ];
mainProgram = "Scarab"; mainProgram = "Scarab";
platforms = platforms.linux; platforms = lib.platforms.linux;
}; };
} }