lime3ds: remove; azahar: init at 2120.1 (#392184)

Changed files
+17 -19
pkgs
by-name
az
azahar
top-level
+16 -19
pkgs/by-name/li/lime3ds/package.nix pkgs/by-name/az/azahar/package.nix
···
enableSdl2Frontend ? true,
SDL2,
enableQt ? true,
-
kdePackages,
+
qt6,
enableQtTranslations ? enableQt,
enableCubeb ? true,
cubeb,
···
;
in
stdenv.mkDerivation (finalAttrs: {
-
pname = "lime3ds";
-
version = "2119.1";
+
pname = "azahar";
+
version = "2120.1";
src = fetchzip {
-
url = "https://github.com/Lime3DS/Lime3ds-archive/releases/download/${finalAttrs.version}/lime3ds-unified-source-${finalAttrs.version}.tar.xz";
-
hash = "sha256-37KFGCVyc4QW+D00CzN1+lpNYZxCWRkflt7rkIFcdM8=";
+
# TODO: use this when https://github.com/azahar-emu/azahar/issues/779 is resolved
+
# url = "https://github.com/azahar-emu/azahar/releases/download/${finalAttrs.version}/lime3ds-unified-source-${finalAttrs.version}.tar.xz";
+
url = "https://github.com/azahar-emu/azahar/releases/download/${finalAttrs.version}/azahar-unified-source-20250322-6ecee96.tar.xz";
+
hash = "sha256-d4JHp/BZEQTKErh476NZoizQjgAldR19Waq9GQg2Ebk=";
};
nativeBuildInputs = [
cmake
doxygen
pkg-config
-
] ++ lib.optionals enableQt [ kdePackages.wrapQtAppsHook ];
+
] ++ lib.optionals enableQt [ qt6.wrapQtAppsHook ];
buildInputs =
[
···
zstd
]
++ optionals enableQt (
-
with kdePackages;
+
with qt6;
[
qtbase
qtmultimedia
···
]
)
++ optionals enableSdl2Frontend [ SDL2 ]
-
++ optionals enableQtTranslations [ kdePackages.qttools ]
+
++ optionals enableQtTranslations [ qt6.qttools ]
++ optionals enableCubeb [ cubeb ]
++ optional useDiscordRichPresence rapidjson;
···
];
postPatch = ''
-
# Fix file not found when looking in var/empty instead of opt
+
# Fix "file not found" bug when looking in var/empty instead of opt
mkdir externals/dynarmic/src/dynarmic/ir/var
ln -s ../opt externals/dynarmic/src/dynarmic/ir/var/empty
···
libs = makeLibraryPath [ vulkan-loader ];
in
optionalString enableSdl2Frontend ''
-
for binfile in lime3ds lime3ds-room
+
for binfile in azahar azahar-room
do
wrapProgram "$out/bin/$binfile" \
--prefix LD_LIBRARY_PATH : ${libs}
-
''
-
+ optionalString enableQt ''
-
qtWrapperArgs+=(
-
--prefix LD_LIBRARY_PATH : ${libs}
-
)
done
'';
cmakeFlags =
[
-
(cmakeBool "LIME3DS_USE_PRECOMPILED_HEADERS" false)
+
(cmakeBool "CITRA_USE_PRECOMPILED_HEADERS" false)
(cmakeBool "USE_SYSTEM_LIBS" true)
(cmakeBool "DISABLE_SYSTEM_DYNARMIC" true)
(cmakeBool "DISABLE_SYSTEM_GLSLANG" true)
···
];
meta = {
-
description = "A Nintendo 3DS emulator based on Citra";
-
homepage = "https://github.com/Lime3DS/Lime3ds-archive";
+
description = "An open-source 3DS emulator project based on Citra";
+
homepage = "https://github.com/azahar-emu/azahar";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ arthsmn ];
-
mainProgram = "lime3ds";
+
mainProgram = "azahar";
platforms = lib.platforms.linux;
};
})
+1
pkgs/top-level/aliases.nix
···
licensor = throw "'licensor' has been removed due to lack of upstream maintenance"; # Added 2025-01-25
lightdm_gtk_greeter = lightdm-gtk-greeter; # Added 2022-08-01
lightstep-tracer-cpp = throw "lightstep-tracer-cpp is deprecated since 2022-08-29; the upstream recommends migration to opentelemetry projects.";
+
lime3ds = throw "lime3ds is deprecated, use 'azahar' instead."; # Added 2025-03-22
limesctl = throw "limesctl has been removed because it is insignificant."; # Added 2024-11-25
lispPackages_new = throw "Lisp packages have been redesigned. See 'lisp-modules' in the nixpkgs manual."; # Added 2024-05-07
lispPackages = throw "Lisp packages have been redesigned. See 'lisp-modules' in the nixpkgs manual."; # Added 2024-05-07