Unverified Commit c08895c3 authored by Thiago Kenji Okada's avatar Thiago Kenji Okada Committed by GitHub
Browse files

osu-lazer{,-bin}: 2025.321.0 -> 2025.418.1 (#399811)

parents 19f11b28 45c3f447
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -10,23 +10,23 @@

let
  pname = "osu-lazer-bin";
  version = "2025.321.0";
  version = "2025.418.1";

  src =
    {
      aarch64-darwin = fetchzip {
        url = "https://github.com/ppy/osu/releases/download/${version}/osu.app.Apple.Silicon.zip";
        hash = "sha256-oc5IbLhOGn7nug47YHpEqTkQoGWQXrVS77xQMW9khqw=";
        hash = "sha256-Geu0OEEMqMdcWB3UapKyCT0yFI56SSMgYaBBNyo5Ie0=";
        stripRoot = false;
      };
      x86_64-darwin = fetchzip {
        url = "https://github.com/ppy/osu/releases/download/${version}/osu.app.Intel.zip";
        hash = "sha256-c1EHrkLbxYUwwgMdgGTHHkop6STFLVH8vRQ41MzGeeI=";
        hash = "sha256-T3pFcd1EyyxGnYlyDrmgNdqMisKmqzR3ZnvwjQX2ALg=";
        stripRoot = false;
      };
      x86_64-linux = fetchurl {
        url = "https://github.com/ppy/osu/releases/download/${version}/osu.AppImage";
        hash = "sha256-mNxoEx/wgJ1OUm7y9JLd5vHSwfcB49QjKDVQWZaMDJQ=";
        hash = "sha256-FJdOTpgRW0wsFkLKqni+rygj2f1ytRrqtZVHoGZqmd0=";
      };
    }
    .${stdenvNoCC.system} or (throw "osu-lazer-bin: ${stdenvNoCC.system} is unsupported.");
+2 −2
Original line number Diff line number Diff line
@@ -651,8 +651,8 @@
  },
  {
    "pname": "ppy.osu.Framework",
    "version": "2025.321.0",
    "hash": "sha256-+TD1TcZfAzFMlVsT19hCfhoMfU4MQcL8K18N/wHZhns="
    "version": "2025.418.0",
    "hash": "sha256-1HHM2vV7NBCjAsDDyGNOOqefkcbQKPvTVdwnpbYO+3w="
  },
  {
    "pname": "ppy.osu.Framework.NativeLibs",
+0 −9
Original line number Diff line number Diff line
{
  "runtimeOptions": {
    "tfm": "net8.0",
    "framework": {
      "name": "Microsoft.NETCore.App",
      "version": "8.0.0"
    }
  }
}
+4 −4
Original line number Diff line number Diff line
@@ -16,18 +16,19 @@
  xorg,
  udev,
  vulkan-loader,
  nix-update-script,
  nativeWayland ? false,
}:

buildDotnetModule rec {
  pname = "osu-lazer";
  version = "2025.321.0";
  version = "2025.418.1";

  src = fetchFromGitHub {
    owner = "ppy";
    repo = "osu";
    tag = version;
    hash = "sha256-37foEm4MO8kuir72qARQ7LKiICRiRq1vorABh3OaL3g=";
    hash = "sha256-yOS2ExI1o9Dm1qBPxjM1v2l/g34DN3Nkm/+Fh5jauJ8=";
  };

  projectFile = "osu.Desktop/osu.Desktop.csproj";
@@ -78,7 +79,6 @@ buildDotnetModule rec {
    done

    ln -sft $out/lib/${pname} ${SDL2}/lib/libSDL2${stdenvNoCC.hostPlatform.extensions.sharedLibrary}
    cp -f ${./osu.runtimeconfig.json} "$out/lib/${pname}/osu!.runtimeconfig.json"

    runHook postFixup
  '';
@@ -95,7 +95,7 @@ buildDotnetModule rec {
    })
  ];

  passthru.updateScript = ./update.sh;
  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Rhythm is just a *click* away (no score submission or multiplayer, see osu-lazer-bin)";
+0 −19
Original line number Diff line number Diff line
#!/usr/bin/env nix-shell
#!nix-shell -I nixpkgs=./. -i bash -p curl jq common-updater-scripts
set -eo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")"

new_version="$(curl -s "https://api.github.com/repos/ppy/osu/releases?per_page=1" | jq -r '.[0].name')"
old_version="$(sed -nE 's/\s*version = "(.*)".*/\1/p' ./package.nix)"
if [[ "$new_version" == "$old_version" ]]; then
    echo "Up to date"
    exit 0
fi

cd ../../../..

if [[ "$1" != "--deps-only" ]]; then
    update-source-version osu-lazer "$new_version"
fi

$(nix-build . -A osu-lazer.fetch-deps --no-out-link)