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