Skip to content

Commit 718581f

Browse files
committed
scarab: format with nixfmt
1 parent 4d67e9b commit 718581f

File tree

1 file changed

+26
-23
lines changed

1 file changed

+26
-23
lines changed

pkgs/tools/games/scarab/default.nix

+26-23
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
{ lib
2-
, buildDotnetModule
3-
, fetchFromGitHub
4-
, glibc
5-
, zlib
6-
, gtk3
7-
, copyDesktopItems
8-
, icoutils
9-
, wrapGAppsHook3
10-
, makeDesktopItem
1+
{
2+
lib,
3+
buildDotnetModule,
4+
fetchFromGitHub,
5+
glibc,
6+
zlib,
7+
gtk3,
8+
copyDesktopItems,
9+
icoutils,
10+
wrapGAppsHook3,
11+
makeDesktopItem,
1112
}:
1213

1314
buildDotnetModule rec {
@@ -58,26 +59,28 @@ buildDotnetModule rec {
5859
done
5960
'';
6061

61-
desktopItems = [(makeDesktopItem {
62-
desktopName = "Scarab";
63-
name = "scarab";
64-
exec = "Scarab";
65-
icon = "scarab";
66-
comment = meta.description;
67-
type = "Application";
68-
categories = [ "Game" ];
69-
})];
62+
desktopItems = [
63+
(makeDesktopItem {
64+
desktopName = "Scarab";
65+
name = "scarab";
66+
exec = "Scarab";
67+
icon = "scarab";
68+
comment = meta.description;
69+
type = "Application";
70+
categories = [ "Game" ];
71+
})
72+
];
7073

7174
passthru.updateScript = ./update.sh;
7275

73-
meta = with lib; {
76+
meta = {
7477
description = "Hollow Knight mod installer and manager";
7578
homepage = "https://github.com/fifty-six/Scarab";
7679
downloadPage = "https://github.com/fifty-six/Scarab/releases";
7780
changelog = "https://github.com/fifty-six/Scarab/releases/tag/v${version}";
78-
license = licenses.gpl3Only;
79-
maintainers = with maintainers; [ huantian ];
81+
license = lib.licenses.gpl3Only;
82+
maintainers = with lib.maintainers; [ huantian ];
8083
mainProgram = "Scarab";
81-
platforms = platforms.linux;
84+
platforms = lib.platforms.linux;
8285
};
8386
}

0 commit comments

Comments
 (0)