parent
f6dd0ea8b4
commit
48f810bd79
|
@ -2,8 +2,9 @@
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, gettext
|
, gettext
|
||||||
, makeWrapper
|
|
||||||
, python3
|
, python3
|
||||||
|
, wrapQtAppsHook
|
||||||
|
, fsuae
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -17,8 +18,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
gettext
|
gettext
|
||||||
makeWrapper
|
|
||||||
python3
|
python3
|
||||||
|
wrapQtAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = with python3.pkgs; [
|
buildInputs = with python3.pkgs; [
|
||||||
|
@ -29,15 +30,19 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
makeFlags = [ "prefix=$(out)" ];
|
makeFlags = [ "prefix=$(out)" ];
|
||||||
|
|
||||||
postInstall = ''
|
dontWrapQtApps = true;
|
||||||
wrapProgram $out/bin/fs-uae-launcher --set PYTHONPATH "$PYTHONPATH"
|
|
||||||
|
preFixup = ''
|
||||||
|
wrapQtApp "$out/bin/fs-uae-launcher" --set PYTHONPATH "$PYTHONPATH" \
|
||||||
|
--prefix PATH : ${lib.makeBinPath [ fsuae ]}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://fs-uae.net";
|
homepage = "https://fs-uae.net";
|
||||||
description = "Graphical front-end for the FS-UAE emulator";
|
description = "Graphical front-end for the FS-UAE emulator";
|
||||||
license = lib.licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
maintainers = with maintainers; [ sander AndersonTorres ];
|
maintainers = with maintainers; [ sander AndersonTorres ];
|
||||||
platforms = [ "i686-linux" "x86_64-linux" ];
|
platforms = [ "i686-linux" "x86_64-linux" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1510,7 +1510,7 @@ with pkgs;
|
||||||
|
|
||||||
fsuae = callPackage ../applications/emulators/fs-uae { };
|
fsuae = callPackage ../applications/emulators/fs-uae { };
|
||||||
|
|
||||||
fsuae-launcher = callPackage ../applications/emulators/fs-uae/launcher.nix { };
|
fsuae-launcher = libsForQt5.callPackage ../applications/emulators/fs-uae/launcher.nix { };
|
||||||
|
|
||||||
fuse-emulator = callPackage ../applications/emulators/fuse-emulator {};
|
fuse-emulator = callPackage ../applications/emulators/fuse-emulator {};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue