diff options
Diffstat (limited to 'pkgs/applications/emulators/uae/default.nix')
-rw-r--r-- | pkgs/applications/emulators/uae/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/applications/emulators/uae/default.nix b/pkgs/applications/emulators/uae/default.nix new file mode 100644 index 0000000000000..64f311c4a8a62 --- /dev/null +++ b/pkgs/applications/emulators/uae/default.nix @@ -0,0 +1,27 @@ +{lib, stdenv, fetchurl, pkg-config, gtk2, alsa-lib, SDL}: + +stdenv.mkDerivation rec { + pname = "uae"; + version = "0.8.29"; + + src = fetchurl { + url = "https://web.archive.org/web/20130905032631/http://www.amigaemulator.org/files/sources/develop/uae-${version}.tar.bz2"; + sha256 = "05s3cd1rd5a970s938qf4c2xm3l7f54g5iaqw56v8smk355m4qr4"; + }; + + configureFlags = [ "--with-sdl" "--with-sdl-sound" "--with-sdl-gfx" "--with-alsa" ]; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ gtk2 alsa-lib SDL ]; + + hardeningDisable = [ "format" ]; + LDFLAGS = [ "-lm" ]; + + meta = { + description = "Ultimate/Unix/Unusable Amiga Emulator"; + license = lib.licenses.gpl2Plus; + homepage = "https://web.archive.org/web/20130901222855/http://www.amigaemulator.org/"; + maintainers = [ lib.maintainers.sander ]; + platforms = lib.platforms.linux; + }; +} |