18 buildDotnetModule rec {
22 src = fetchFromGitHub {
26 sha256 = "10pmzy7nhcam0686kpn64cgar59shzzy5k7j3vrgmnm27zgkr22v";
29 nugetDeps = ./deps.nix;
30 projectFile = "Scarab.sln";
31 executables = [ "Scarab" ];
54 # Icon for the desktop file
55 mkdir -p $out/share/icons/hicolor/256x256/apps/
56 gm convert $src/Scarab/Assets/omegamaggotprime.ico $out/share/icons/hicolor/256x256/apps/scarab.png
59 desktopItems = [(makeDesktopItem {
60 desktopName = "Scarab";
64 comment = meta.description;
66 categories = [ "Game" ];
70 description = "Hollow Knight mod installer and manager";
71 homepage = "https://github.com/fifty-six/Scarab";
72 downloadPage = "https://github.com/fifty-six/Scarab/releases";
73 changelog = "https://github.com/fifty-six/Scarab/releases/tag/v${version}";
74 license = licenses.gpl3Only;
75 maintainers = with maintainers; [ huantian ];
76 mainProgram = "Scarab";
77 platforms = platforms.linux;