Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fsuae: refactor #294638

Merged
merged 5 commits into from Mar 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -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;
Expand All @@ -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
Expand All @@ -13,6 +12,7 @@
, lua
, openal
, pkg-config
, stdenv
, zip
, zlib
}:
Expand All @@ -31,6 +31,7 @@ stdenv.mkDerivation (finalAttrs:{
nativeBuildInputs = [
autoreconfHook
pkg-config
zip
];

buildInputs = [
Expand All @@ -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";
Expand All @@ -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;
};
})
4 changes: 0 additions & 4 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -2687,10 +2687,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 { };
Expand Down