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