14 stdenv.mkDerivation rec {
16 version = "0.5.0-pre042";
19 i686-linux = fetchurl {
20 url = "https://github.com/TeamRizu/OutFox/releases/download/OF5.0.0-042/OutFox-alpha-0.5.0-pre042-Linux-14.04-32bit-i386-i386-legacy-date-20231227.tar.gz";
21 hash = "sha256-NFjNoqJ7Fq4A7Y0k6oQcWjykV+/b/MiRtJ1p6qlZdjs=";
23 x86_64-linux = fetchurl {
24 url = "https://github.com/TeamRizu/OutFox/releases/download/OF5.0.0-042/OutFox-alpha-0.5.0-pre042-Linux-22.04-amd64-current-date-20231224.tar.gz";
25 hash = "sha256-dW+g/JYav3rUuI+nHDi6rXu/O5KYiEdk/HH82jgOUnI=";
27 aarch64-linux = fetchurl {
28 url = "https://github.com/TeamRizu/OutFox/releases/download/OF5.0.0-042/OutFox-alpha-0.5.0-pre042-Raspberry-Pi-Linux-18.04-arm64-arm64v8-modern-date-20231225.tar.gz";
29 hash = "sha256-7Qrq6t8KmUSIK4Rskkxw5l4UZ2vsb9/orzPegHySaJ4=";
31 armv7l-linux = fetchurl {
32 url = "https://github.com/TeamRizu/OutFox/releases/download/OF5.0.0-042/OutFox-alpha-0.5.0-pre042-Raspberry-Pi-Linux-14.04-arm32-arm32v7-legacy-date-20231227.tar.gz";
33 hash = "sha256-PRp7kuqFBRy7nextTCB+/poc+A9AX2EiQphx6aUfT8E=";
35 }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
50 desktop = makeDesktopItem {
51 name = "project-outfox";
52 desktopName = "Project OutFox";
53 genericName = "Rhythm game engine";
56 categories = [ "Game" ];
60 find ./Appearance -type f -executable -exec chmod -x {} \;
64 mkdir -p $out/bin $out/share/OutFox $out/share/applications
65 cp -r ./. $out/share/OutFox
66 ln -s ${desktop}/share/applications/project-outfox.desktop $out/share/applications/project-outfox.desktop
67 makeWrapper $out/share/OutFox/OutFox $out/bin/OutFox --argv0
71 description = "Rhythm game engine forked from StepMania";
72 homepage = "https://projectoutfox.com";
73 changelog = "https://projectoutfox.com/releases/${version}";
74 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
75 license = licenses.unfree;
76 platforms = [ "x86_64-linux" "i686-linux" "aarch64-linux" "armv7l-linux" ];
77 maintainers = with maintainers; [ maxwell-lt ];
78 mainProgram = "OutFox";