Merge pull request #294638 from atorres1985-contrib/fsuae
fsuae: refactor
This commit is contained in:
commit
c9d54fc5d5
3 changed files with 22 additions and 19 deletions
|
@ -1,33 +1,35 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, gettext
|
||||
, python3
|
||||
, wrapQtAppsHook
|
||||
, fsuae
|
||||
, gettext
|
||||
, python3Packages
|
||||
, stdenv
|
||||
, libsForQt5
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "fs-uae-launcher";
|
||||
version = "3.1.68";
|
||||
version = "3.1.70";
|
||||
|
||||
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=";
|
||||
hash = "sha256-yvJ8sa44V13SEUJ6C9SgS+N2ZFH5+20TTL2ICY9A36c=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gettext
|
||||
python3
|
||||
wrapQtAppsHook
|
||||
python3Packages.python
|
||||
libsForQt5.wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = with python3.pkgs; [
|
||||
buildInputs = with python3Packages; [
|
||||
pyqt5
|
||||
requests
|
||||
setuptools
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
makeFlags = [ "prefix=$(out)" ];
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
@ -47,8 +49,9 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
homepage = "https://fs-uae.net";
|
||||
description = "Graphical front-end for the FS-UAE emulator";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
mainProgram = "fs-uae-launcher";
|
||||
maintainers = with lib.maintainers; [ sander AndersonTorres ];
|
||||
platforms = [ "i686-linux" "x86_64-linux" ];
|
||||
platforms = with lib.systems.inspect;
|
||||
patternLogicalAnd patterns.isx86 patterns.isLinux;
|
||||
};
|
||||
})
|
||||
|
|
@ -1,8 +1,7 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, SDL2
|
||||
, autoreconfHook
|
||||
, fetchFromGitHub
|
||||
, freetype
|
||||
, gettext
|
||||
, glib
|
||||
|
@ -13,6 +12,7 @@
|
|||
, lua
|
||||
, openal
|
||||
, pkg-config
|
||||
, stdenv
|
||||
, zip
|
||||
, zlib
|
||||
}:
|
||||
|
@ -31,6 +31,7 @@ stdenv.mkDerivation (finalAttrs:{
|
|||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
zip
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
@ -44,10 +45,11 @@ stdenv.mkDerivation (finalAttrs:{
|
|||
libmpeg2
|
||||
lua
|
||||
openal
|
||||
zip
|
||||
zlib
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
meta = {
|
||||
homepage = "https://fs-uae.net";
|
||||
description = "An accurate, customizable Amiga Emulator";
|
||||
|
@ -58,7 +60,9 @@ stdenv.mkDerivation (finalAttrs:{
|
|||
Amigas.
|
||||
'';
|
||||
license = lib.licenses.gpl2Plus;
|
||||
mainProgram = "fs-uae";
|
||||
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||
platforms = [ "i686-linux" "x86_64-linux" ];
|
||||
platforms = with lib.systems.inspect;
|
||||
patternLogicalAnd patterns.isx86 patterns.isLinux;
|
||||
};
|
||||
})
|
|
@ -2692,10 +2692,6 @@ with pkgs;
|
|||
|
||||
fsrx = callPackage ../tools/misc/fsrx { };
|
||||
|
||||
fsuae = callPackage ../applications/emulators/fs-uae { };
|
||||
|
||||
fsuae-launcher = libsForQt5.callPackage ../applications/emulators/fs-uae/launcher.nix { };
|
||||
|
||||
fuc = callPackage ../tools/misc/fuc { };
|
||||
|
||||
fuse-emulator = callPackage ../applications/emulators/fuse-emulator { };
|
||||
|
|
Loading…
Reference in a new issue