nixpkgs/pkgs/applications/emulators/fs-uae/launcher.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

50 lines
1.0 KiB
Nix
Raw Normal View History

2022-01-03 23:19:59 +00:00
{ lib
, stdenv
, fetchurl
, gettext
, python3
, wrapQtAppsHook
, fsuae
2021-07-18 16:39:13 +00:00
}:
stdenv.mkDerivation (finalAttrs: {
2021-07-18 16:39:13 +00:00
pname = "fs-uae-launcher";
2023-07-06 16:00:25 +00:00
version = "3.1.68";
2021-07-18 16:39:13 +00:00
src = fetchurl {
url = "https://fs-uae.net/files/FS-UAE-Launcher/Stable/${finalAttrs.version}/fs-uae-launcher-${finalAttrs.version}.tar.xz";
hash = "sha256-42EERC2yeODx0HPbwr4vmpN80z6WSWi3WzJMOT+OwDA=";
2021-07-18 16:39:13 +00:00
};
2022-01-03 23:19:59 +00:00
nativeBuildInputs = [
gettext
python3
wrapQtAppsHook
2022-01-03 23:19:59 +00:00
];
buildInputs = with python3.pkgs; [
pyqt5
requests
setuptools
];
2021-07-18 16:39:13 +00:00
makeFlags = [ "prefix=$(out)" ];
2022-01-03 23:19:59 +00:00
dontWrapQtApps = true;
preFixup = ''
wrapQtApp "$out/bin/fs-uae-launcher" \
--set PYTHONPATH "$PYTHONPATH" \
--prefix PATH : ${lib.makeBinPath [ fsuae ]}
2021-07-18 16:39:13 +00:00
'';
meta = {
2022-01-03 23:19:59 +00:00
homepage = "https://fs-uae.net";
2021-07-18 16:39:13 +00:00
description = "Graphical front-end for the FS-UAE emulator";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ sander AndersonTorres ];
2021-07-18 16:39:13 +00:00
platforms = [ "i686-linux" "x86_64-linux" ];
};
})