summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/emulators/fs-uae
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2022-02-15 23:28:16 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2022-02-16 01:38:20 -0300
commit8d65e832f0a18f60e2040940c80d96373ac8b88c (patch)
tree3d6ade66b2a81403e3852b80b9e7c660699b6ed6 /pkgs/applications/emulators/fs-uae
parent19574af0af3ffaf7c9e359744ed32556f34536bd (diff)
Move misc/emulators to applications/emulators - part 1
Emulators form a class by themselves. So, they should be moved to applications/.
Diffstat (limited to 'pkgs/applications/emulators/fs-uae')
-rw-r--r--pkgs/applications/emulators/fs-uae/default.nix65
-rw-r--r--pkgs/applications/emulators/fs-uae/launcher.nix43
2 files changed, 108 insertions, 0 deletions
diff --git a/pkgs/applications/emulators/fs-uae/default.nix b/pkgs/applications/emulators/fs-uae/default.nix
new file mode 100644
index 000000000000..4bd67908a787
--- /dev/null
+++ b/pkgs/applications/emulators/fs-uae/default.nix
@@ -0,0 +1,65 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+, SDL2
+, autoreconfHook
+, freetype
+, gettext
+, glib
+, gtk2
+, libGL
+, libGLU
+, libmpeg2
+, lua
+, openal
+, pkg-config
+, zip
+, zlib
+}:
+
+
+stdenv.mkDerivation rec {
+ pname = "fs-uae";
+ version = "3.1.66";
+
+ src = fetchFromGitHub {
+ owner = "FrodeSolheim";
+ repo = pname;
+ rev = "v${version}";
+ hash = "sha256-zPVRPazelmNaxcoCStB0j9b9qwQDTgv3O7Bg3VlW9ys=";
+ };
+
+ nativeBuildInputs = [
+ autoreconfHook
+ pkg-config
+ ];
+
+ buildInputs = [
+ SDL2
+ freetype
+ gettext
+ glib
+ gtk2
+ libGL
+ libGLU
+ libmpeg2
+ lua
+ openal
+ zip
+ zlib
+ ];
+
+ meta = with lib; {
+ homepage = "https://fs-uae.net";
+ description = "An accurate, customizable Amiga Emulator";
+ longDescription = ''
+ FS-UAE integrates the most accurate Amiga emulation code available
+ from WinUAE. FS-UAE emulates A500, A500+, A600, A1200, A1000, A3000
+ and A4000 models, but you can tweak the hardware configuration and
+ create customized Amigas.
+ '';
+ license = licenses.gpl2Plus;
+ maintainers = with maintainers; [ AndersonTorres ];
+ platforms = [ "i686-linux" "x86_64-linux" ];
+ };
+}
diff --git a/pkgs/applications/emulators/fs-uae/launcher.nix b/pkgs/applications/emulators/fs-uae/launcher.nix
new file mode 100644
index 000000000000..afe12aab0c83
--- /dev/null
+++ b/pkgs/applications/emulators/fs-uae/launcher.nix
@@ -0,0 +1,43 @@
+{ lib
+, stdenv
+, fetchurl
+, gettext
+, makeWrapper
+, python3
+}:
+
+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";
+ };
+
+ nativeBuildInputs = [
+ gettext
+ makeWrapper
+ python3
+ ];
+
+ buildInputs = with python3.pkgs; [
+ pyqt5
+ requests
+ setuptools
+ ];
+
+ makeFlags = [ "prefix=$(out)" ];
+
+ postInstall = ''
+ wrapProgram $out/bin/fs-uae-launcher --set PYTHONPATH "$PYTHONPATH"
+ '';
+
+ meta = with lib; {
+ homepage = "https://fs-uae.net";
+ description = "Graphical front-end for the FS-UAE emulator";
+ license = lib.licenses.gpl2Plus;
+ maintainers = with maintainers; [ sander AndersonTorres ];
+ platforms = [ "i686-linux" "x86_64-linux" ];
+ };
+}