2022-01-07 04:07:37 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, gettext
|
|
|
|
, makeWrapper
|
|
|
|
, python3
|
2021-07-18 21:22:44 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fs-uae-launcher";
|
|
|
|
version = "3.0.5";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://fs-uae.net/stable/${version}/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "1dknra4ngz7bpppwqghmza1q68pn1yaw54p9ba0f42zwp427ly97";
|
|
|
|
};
|
|
|
|
|
2022-01-07 04:07:37 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
gettext
|
|
|
|
makeWrapper
|
|
|
|
python3
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = with python3.pkgs; [
|
|
|
|
pyqt5
|
|
|
|
requests
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
2021-07-18 21:22:44 +00:00
|
|
|
makeFlags = [ "prefix=$(out)" ];
|
2022-01-07 04:07:37 +00:00
|
|
|
|
2021-07-18 21:22:44 +00:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/fs-uae-launcher --set PYTHONPATH "$PYTHONPATH"
|
|
|
|
'';
|
|
|
|
|
2022-01-07 04:07:37 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://fs-uae.net";
|
2021-07-18 21:22:44 +00:00
|
|
|
description = "Graphical front-end for the FS-UAE emulator";
|
|
|
|
license = lib.licenses.gpl2Plus;
|
2022-01-07 04:07:37 +00:00
|
|
|
maintainers = with maintainers; [ sander AndersonTorres ];
|
2021-07-18 21:22:44 +00:00
|
|
|
platforms = [ "i686-linux" "x86_64-linux" ];
|
|
|
|
};
|
|
|
|
}
|