15 buildDotnetModule rec {
17 version = "2022.1101.0";
19 src = fetchFromGitHub {
23 sha256 = "sha256-o0QHb8ebXKG0OZaYA9P/0OuOiSml3slYQ7gjyuP/ZyY=";
26 projectFile = "osu.Desktop/osu.Desktop.csproj";
27 nugetDeps = ./deps.nix;
29 nativeBuildInputs = [ copyDesktopItems ];
43 executables = [ "osu!" ];
48 for i in 16 32 48 64 96 128 256 512 1024; do
49 install -D ./assets/lazer.png $out/share/icons/hicolor/''${i}x$i/apps/osu\!.png
52 ln -sft $out/lib/${pname} ${SDL2}/lib/libSDL2${stdenvNoCC.hostPlatform.extensions.sharedLibrary}
53 cp -f ${./osu.runtimeconfig.json} "$out/lib/${pname}/osu!.runtimeconfig.json"
58 desktopItems = [(makeDesktopItem {
63 comment = meta.description;
65 categories = [ "Game" ];
69 description = "Rhythm is just a *click* away";
70 homepage = "https://osu.ppy.sh";
71 license = with licenses; [
74 unfreeRedistributable # osu-framework contains libbass.so in repository
76 maintainers = with maintainers; [ oxalica thiagokokada ];
77 platforms = [ "x86_64-linux" ];
80 passthru.updateScript = ./update.sh;