11 stdenv.mkDerivation (finalAttrs: {
12 pname = "fs-uae-launcher";
16 url = "https://fs-uae.net/files/FS-UAE-Launcher/Stable/${finalAttrs.version}/fs-uae-launcher-${finalAttrs.version}.tar.xz";
17 hash = "sha256-yvJ8sa44V13SEUJ6C9SgS+N2ZFH5+20TTL2ICY9A36c=";
22 python3Packages.python
23 libsForQt5.wrapQtAppsHook
26 buildInputs = with python3Packages; [
34 makeFlags = [ "prefix=$(out)" ];
36 dontWrapQtApps = true;
39 substituteInPlace setup.py \
40 --replace-fail "distutils.core" "setuptools"
44 wrapQtApp "$out/bin/fs-uae-launcher" \
45 --set PYTHONPATH "$PYTHONPATH"
47 # fs-uae-launcher search side by side for executables and shared files
48 # see $src/fsgs/plugins/pluginexecutablefinder.py#find_executable
49 ln -s ${fsuae}/bin/fs-uae $out/bin
50 ln -s ${fsuae}/bin/fs-uae-device-helper $out/bin
51 ln -s ${fsuae}/share/fs-uae $out/share/fs-uae
55 homepage = "https://fs-uae.net";
56 description = "Graphical front-end for the FS-UAE emulator";
57 license = lib.licenses.gpl2Plus;
58 mainProgram = "fs-uae-launcher";
59 maintainers = with lib.maintainers; [
63 platforms = with lib.systems.inspect; patternLogicalAnd patterns.isx86 patterns.isLinux;