mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
osu-lazer{,-bin}: 2024.1115.3 -> 2024.1208.0 (#363501)
This commit is contained in:
commit
822b53d1a1
@ -1,6 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
stdenvNoCC,
|
||||
fetchurl,
|
||||
fetchzip,
|
||||
appimageTools,
|
||||
@ -10,26 +10,26 @@
|
||||
|
||||
let
|
||||
pname = "osu-lazer-bin";
|
||||
version = "2024.1115.3";
|
||||
version = "2024.1208.0";
|
||||
|
||||
src =
|
||||
{
|
||||
aarch64-darwin = fetchzip {
|
||||
url = "https://github.com/ppy/osu/releases/download/${version}/osu.app.Apple.Silicon.zip";
|
||||
hash = "sha256-dw+bfuei0Wbk3UNVKZRahZxxsJObTyzJOYEMXYJyUNE=";
|
||||
hash = "sha256-OgXKJ09OMqeD2ZdNBbEluEyR0bbBllprSAHaIXCtLSA=";
|
||||
stripRoot = false;
|
||||
};
|
||||
x86_64-darwin = fetchzip {
|
||||
url = "https://github.com/ppy/osu/releases/download/${version}/osu.app.Intel.zip";
|
||||
hash = "sha256-EQA2HhoN52VdZsvq8IyocV4zRupVRfdyPpXF3nxZ8rM=";
|
||||
hash = "sha256-3W6F2ThYTOVKa9/zTA/6X0uMoPy1SYulIYfYw+D7FR8=";
|
||||
stripRoot = false;
|
||||
};
|
||||
x86_64-linux = fetchurl {
|
||||
url = "https://github.com/ppy/osu/releases/download/${version}/osu.AppImage";
|
||||
hash = "sha256-kwZHy0FfOUFIWvyOj0ghlQz05U+Lnzl5TgC4T6bhm7o=";
|
||||
hash = "sha256-gRUr7jf0+Xbfz8FurPk/o7F67TYisdNySNzVWEMb1es=";
|
||||
};
|
||||
}
|
||||
.${stdenv.system} or (throw "osu-lazer-bin: ${stdenv.system} is unsupported.");
|
||||
.${stdenvNoCC.system} or (throw "osu-lazer-bin: ${stdenvNoCC.system} is unsupported.");
|
||||
|
||||
meta = {
|
||||
description = "Rhythm is just a *click* away (AppImage version for score submission and multiplayer, and binary distribution for Darwin systems)";
|
||||
@ -55,8 +55,8 @@ let
|
||||
|
||||
passthru.updateScript = ./update.sh;
|
||||
in
|
||||
if stdenv.hostPlatform.isDarwin then
|
||||
stdenv.mkDerivation {
|
||||
if stdenvNoCC.isDarwin then
|
||||
stdenvNoCC.mkDerivation {
|
||||
inherit
|
||||
pname
|
||||
version
|
||||
@ -99,7 +99,7 @@ else
|
||||
|
||||
install -m 444 -D ${contents}/osu!.desktop -t $out/share/applications
|
||||
for i in 16 32 48 64 96 128 256 512 1024; do
|
||||
install -D ${contents}/osu!.png $out/share/icons/hicolor/''${i}x$i/apps/osu!.png
|
||||
install -D ${contents}/osu.png $out/share/icons/hicolor/''${i}x$i/apps/osu.png
|
||||
done
|
||||
'';
|
||||
}
|
||||
|
1894
pkgs/by-name/os/osu-lazer/deps.nix
generated
1894
pkgs/by-name/os/osu-lazer/deps.nix
generated
File diff suppressed because it is too large
Load Diff
@ -21,13 +21,13 @@
|
||||
|
||||
buildDotnetModule rec {
|
||||
pname = "osu-lazer";
|
||||
version = "2024.1115.3";
|
||||
version = "2024.1208.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ppy";
|
||||
repo = "osu";
|
||||
rev = version;
|
||||
hash = "sha256-AZN/zgHV6ydImOd1zUjYqXJqq5o0XGnvNvTTL/mIrHg=";
|
||||
tag = version;
|
||||
hash = "sha256-cMPVtzoTxIUVZNNAqF+H0873ZsXGluFEXwNDp7zOq8c=";
|
||||
};
|
||||
|
||||
projectFile = "osu.Desktop/osu.Desktop.csproj";
|
||||
@ -74,7 +74,7 @@ buildDotnetModule rec {
|
||||
--set OSU_EXTERNAL_UPDATE_PROVIDER 1
|
||||
|
||||
for i in 16 32 48 64 96 128 256 512 1024; do
|
||||
install -D ./assets/lazer.png $out/share/icons/hicolor/''${i}x$i/apps/osu!.png
|
||||
install -D ./assets/lazer.png $out/share/icons/hicolor/''${i}x$i/apps/osu.png
|
||||
done
|
||||
|
||||
ln -sft $out/lib/${pname} ${SDL2}/lib/libSDL2${stdenvNoCC.hostPlatform.extensions.sharedLibrary}
|
||||
@ -88,7 +88,7 @@ buildDotnetModule rec {
|
||||
desktopName = "osu!";
|
||||
name = "osu";
|
||||
exec = "osu!";
|
||||
icon = "osu!";
|
||||
icon = "osu";
|
||||
comment = "Rhythm is just a *click* away (no score submission or multiplayer, see osu-lazer-bin)";
|
||||
type = "Application";
|
||||
categories = [ "Game" ];
|
||||
|
Loading…
Reference in New Issue
Block a user