forked from mirrors/nixpkgs
fsuae-launcher: refactor
This commit is contained in:
parent
b00ebade21
commit
d5dede7ae8
|
@ -1,5 +1,9 @@
|
|||
{ stdenv, lib, fetchurl, makeWrapper, python3, gettext
|
||||
, pyqt5, setuptools, requests
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, gettext
|
||||
, makeWrapper
|
||||
, python3
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -11,18 +15,29 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1dknra4ngz7bpppwqghmza1q68pn1yaw54p9ba0f42zwp427ly97";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gettext
|
||||
makeWrapper
|
||||
python3
|
||||
];
|
||||
|
||||
buildInputs = with python3.pkgs; [
|
||||
pyqt5
|
||||
requests
|
||||
setuptools
|
||||
];
|
||||
|
||||
makeFlags = [ "prefix=$(out)" ];
|
||||
nativeBuildInputs = [ makeWrapper python3 gettext ];
|
||||
buildInputs = [ pyqt5 setuptools requests ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/fs-uae-launcher --set PYTHONPATH "$PYTHONPATH"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
homepage = "https://fs-uae.net";
|
||||
description = "Graphical front-end for the FS-UAE emulator";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
homepage = "https://fs-uae.net";
|
||||
maintainers = with lib; [ maintainers.sander ];
|
||||
maintainers = with maintainers; [ sander AndersonTorres ];
|
||||
platforms = [ "i686-linux" "x86_64-linux" ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -33195,9 +33195,7 @@ with pkgs;
|
|||
|
||||
fsuae = callPackage ../misc/emulators/fs-uae { };
|
||||
|
||||
fsuae-launcher = callPackage ../misc/emulators/fs-uae/launcher.nix {
|
||||
inherit (python3Packages) pyqt5 setuptools requests;
|
||||
};
|
||||
fsuae-launcher = callPackage ../misc/emulators/fs-uae/launcher.nix { };
|
||||
|
||||
putty = callPackage ../applications/networking/remote/putty {
|
||||
gtk2 = gtk2-x11;
|
||||
|
|
Loading…
Reference in a new issue