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.

44 lines
877 B
Nix
Raw Normal View History

2022-01-03 23:19:59 +00:00
{ lib
, stdenv
, fetchurl
, gettext
, makeWrapper
, python3
2021-07-18 16:39:13 +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-03 23:19:59 +00:00
nativeBuildInputs = [
gettext
makeWrapper
python3
];
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
2021-07-18 16:39:13 +00:00
postInstall = ''
wrapProgram $out/bin/fs-uae-launcher --set PYTHONPATH "$PYTHONPATH"
'';
2022-01-03 23:19:59 +00:00
meta = with lib; {
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;
2022-01-03 23:19:59 +00:00
maintainers = with maintainers; [ sander AndersonTorres ];
2021-07-18 16:39:13 +00:00
platforms = [ "i686-linux" "x86_64-linux" ];
};
}