diff --git a/pkgs/misc/emulators/fs-uae/default.nix b/pkgs/misc/emulators/fs-uae/default.nix new file mode 100644 index 000000000000..545691fa4d03 --- /dev/null +++ b/pkgs/misc/emulators/fs-uae/default.nix @@ -0,0 +1,35 @@ +{ stdenv, fetchurl, pkgconfig +, gettext, gtk, SDL, zlib, glib, openal, mesa, lua, freetype }: + +with stdenv.lib; +stdenv.mkDerivation rec{ + + name = "fs-uae-${version}"; + version = "2.4.1"; + + src = fetchurl { + urls = [ "http://fs-uae.net/fs-uae/stable/${version}/${name}.tar.gz" ]; + sha256 = "05gvnrkl1aclq1a6z57k6rmdnsg2ghyjcscwq0w5dhc5vcalv6f0"; + }; + + buildInputs = [ pkgconfig gettext gtk SDL zlib glib openal mesa lua freetype ]; + + phases = "unpackPhase buildPhase installPhase"; + + # Strange: the docs recommend SDL2, but it does compile only with SDL1 + buildPhase = "make sdl=1"; + installPhase = "make install prefix=$out"; + + meta = { + 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; + homepage = http://fs-uae.net; + maintainers = [ maintainers.AndersonTorres ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 34b877150a7e..4edcf54a64ba 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12707,6 +12707,8 @@ let uae = callPackage ../misc/emulators/uae { }; + fsuae = callPackage ../misc/emulators/fs-uae { }; + putty = callPackage ../applications/networking/remote/putty { }; retroarchBare = callPackage ../misc/emulators/retroarch { };